| | |
| | | @DeleteMapping("/point/delete") |
| | | R deletePoint(@RequestParam("pointId") Long pointId, @RequestParam("operator") Long operator); |
| | | |
| | | |
| | | /** |
| | | * 统计问题清单 |
| | | * */ |
| | | * 新增商品分类 |
| | | * @param convenientGoodsCategoryDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/goodsCategory/add") |
| | | R addGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO); |
| | | |
| | | /** |
| | | * 编辑 |
| | | * @param convenientGoodsCategoryDTO |
| | | * @return |
| | | */ |
| | | @PutMapping("/goodsCategory/put") |
| | | R putGoodsCategory(@RequestBody ConvenientGoodsCategoryDTO convenientGoodsCategoryDTO); |
| | | |
| | | /** |
| | | * 删除商品分类 |
| | | * @param categoryId |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/goodsCategory/delete") |
| | | R deleteGoodsCategory(@RequestParam("categoryId") Long categoryId, @RequestParam("operator") Long operator); |
| | | |
| | | /** |
| | | * 获取商品分类详情 |
| | | * @param categoryId |
| | | * @return |
| | | */ |
| | | @GetMapping("/goodsCategory/get") |
| | | R getGoodsCategory(@RequestParam("categoryId") Long categoryId); |
| | | |
| | | /** |
| | | * 分页查询商品分类 |
| | | * @param pageConvenientGoodsCategoryDTO |
| | | * @return |
| | | */ |
| | | @PostMapping("/goodsCategory/page") |
| | | R pageGoodsCategory(@RequestBody PageConvenientGoodsCategoryDTO pageConvenientGoodsCategoryDTO); |
| | | |
| | | @GetMapping("/dataCount") |
| | | R dataCount(); |
| | | |