| | |
| | | import com.panzhihua.service_community.service.ComCvtBusinessService; |
| | | import com.panzhihua.service_community.service.ComCvtCategoryService; |
| | | import com.panzhihua.service_community.service.ComCvtServeService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @PostMapping("/business/page") |
| | | public R pageComCvtBusiness(@RequestBody PageComCvtBusinessDTO pageComCvtBusinessDTO) { |
| | | return comCvtBusinessService.pageComCvtBusiness(pageComCvtBusinessDTO); |
| | | } |
| | | |
| | | /** |
| | | * 小程序通过便民服务区域分页查询便民服务商家 |
| | | * |
| | | * @param comCvtBusinessAppletsDTO 查询参数 |
| | | * @return 返回结果 |
| | | */ |
| | | @PostMapping("/business/area/page") |
| | | public R pageComCvtBusinessByServiceArea(@RequestBody PageComCvtBusinessAppletsDTO comCvtBusinessAppletsDTO) { |
| | | return comCvtBusinessService.pageComCvtBusinessByServiceArea(comCvtBusinessAppletsDTO); |
| | | } |
| | | |
| | | /** |
| | |
| | | public R deleteComCvtServe(@RequestParam("id") Long id) { |
| | | return comCvtServeService.deleteComCvtServe(id); |
| | | } |
| | | |
| | | /** |
| | | * 小程序便民服务商家详情 |
| | | * @param id 商家ID |
| | | * @return |
| | | */ |
| | | @GetMapping("/business/serve/get") |
| | | public R getComCvtBusinessServeDetail(@RequestParam("id")Long id){ |
| | | return comCvtBusinessService.getComCvtBusinessServeDetail(id); |
| | | }; |
| | | } |