package com.huimv.cattle.controller; import com.huimv.cattle.service.SalesCountService; import com.huimv.common.utils.Result; import com.huimv.common.utils.ResultCode; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; import java.util.Map; /** *
* 前端控制器 *
* * @author zn * @since 2022-12-15 */ @CrossOrigin @RestController @RequestMapping("/v1.0.0/salesCount") public class SalesCountController { @Autowired private SalesCountService salesCountService; @PostMapping("/getSalesCount") public Result list(HttpServletRequest httpServletRequest,@RequestBody Map