| | |
| | | * @param pageComCvtCategoryDTO 查询参数 |
| | | * @return 返回结果 |
| | | */ |
| | | @PostMapping("/category/page") |
| | | @PostMapping("/convenient/category/page") |
| | | R pageComCvtCategory(@RequestBody PageComCvtCategoryDTO pageComCvtCategoryDTO); |
| | | |
| | | |
| | | /** |
| | | * 社区后台分页查询便民服务分类 |
| | | * |
| | | * @return 返回结果 |
| | | */ |
| | | @PostMapping("/convenient/category/all") |
| | | R allComCvtCategory(); |
| | | |
| | | /** |
| | | * 新增便民服务分类 |
| | |
| | | * @param comCvtCategoryDTO 分类参数 |
| | | * @return 返回结果 |
| | | */ |
| | | @PostMapping("/category/add") |
| | | @PostMapping("/convenient/category/add") |
| | | R addComCvtCategory(@RequestBody ComCvtCategoryDTO comCvtCategoryDTO); |
| | | |
| | | /** |
| | |
| | | * @param comCvtCategoryDTO 分类参数 |
| | | * @return 返回结果 |
| | | */ |
| | | @PutMapping("/category/put") |
| | | @PutMapping("/convenient/category/put") |
| | | R putComCvtCategory(@RequestBody ComCvtCategoryDTO comCvtCategoryDTO); |
| | | |
| | | /** |
| | |
| | | * @param id 分类主键 |
| | | * @return 返回结果 |
| | | */ |
| | | @GetMapping("/category/get") |
| | | @GetMapping("/convenient/category/get") |
| | | R getComCvtCategory(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | |
| | | * @param id 分类主键 |
| | | * @return 返回结果 |
| | | */ |
| | | @DeleteMapping("/category/delete") |
| | | @DeleteMapping("/convenient/category/delete") |
| | | R deleteComCvtCategory(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 社区后台分页查询便民服务 |
| | | * |
| | | * @param pageComCvtServeDTO 查询参数 |
| | | * @return 返回结果 |
| | | */ |
| | | @PostMapping("/convenient/serve/page") |
| | | R pageComCvtServe(@RequestBody PageComCvtServeDTO pageComCvtServeDTO); |
| | | |
| | | /** |
| | | * 新增便民服务 |
| | | * |
| | | * @param comCvtServeDTO 参数 |
| | | * @return 返回结果 |
| | | */ |
| | | @PostMapping("/convenient/serve/add") |
| | | R addComCvtServe(@RequestBody ComCvtServeDTO comCvtServeDTO); |
| | | |
| | | /** |
| | | * 编辑便民服务 |
| | | * |
| | | * @param comCvtServeDTO 分类参数 |
| | | * @return 返回结果 |
| | | */ |
| | | @PutMapping("/convenient/serve/put") |
| | | R putComCvtServe(@RequestBody ComCvtServeDTO comCvtServeDTO); |
| | | |
| | | /** |
| | | * 查询便民服务详情 |
| | | * |
| | | * @param id 服务主键 |
| | | * @return 返回结果 |
| | | */ |
| | | @GetMapping("/convenient/serve/get") |
| | | R getComCvtServe(@RequestParam("id") Long id); |
| | | |
| | | /** |
| | | * 删除便民服务信息 |
| | | * |
| | | * @param id 服务主键 |
| | | * @return 返回结果 |
| | | */ |
| | | @DeleteMapping("/convenient/serve/delete") |
| | | R deleteComCvtServe(@RequestParam("id") Long id); |
| | | } |