package com.huimv.produce.warning.controller; import com.huimv.common.utils.Result; import com.huimv.produce.warning.service.IBaseWarningInfoService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.Map; /** *

* 前端控制器 *

* * @author astupidcoder * @since 2021-12-02 */ @RestController @RequestMapping("/warningInfo") public class BaseWarningInfoController { @Autowired private IBaseWarningInfoService warningInfoService; @PostMapping("/listWarningInfoZoology") public Result listWarningInfoZoology(@RequestBody Map map ) { return warningInfoService.listWarningInfoZoology(map); } @PostMapping("/listWarningInfoSewage") public Result listWarningInfoSewage(@RequestBody Map map ) { return warningInfoService.listWarningInfoSewage(map); } @PostMapping("/listWarningInfo") public Result listWarningInfo(@RequestBody Map map ) { return warningInfoService.listWarningInfo(map); } }