package com.huimv.beeboxs.controller;


import com.huimv.beeboxs.common.utils.Result;
import com.huimv.beeboxs.service.IHiveBeehiveOutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2022-04-22
 */
@RestController
@CrossOrigin
@RequestMapping("/hiveBeehiveOut")
public class HiveBeehiveOutController {
    @Autowired
    private IHiveBeehiveOutService beehiveService;

    @PostMapping("/list")
    public Result page(@RequestBody Map map){

        return beehiveService.searchList(map);
    }
}
