| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "分类列表", notes = "分类列表") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiProductCategoryVo.class) |
| | | }) |
| | | @PostMapping(value = "/list") |
| | | public FebsResponse list(@RequestBody @Validated ApiProductCategoryPageDto dto) { |
| | | |
| | | return aiProductCategoryService.categoryList(dto); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "全部分类", notes = "全部分类") |
| | | @ApiOperation(value = "全部父级分类", notes = "全部父级分类") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiProductCategoryVo.class) |
| | | }) |
| | |
| | | |
| | | return aiProductCategoryService.allList(); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "子分类列表", notes = "子分类列表") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiProductCategoryVo.class) |
| | | }) |
| | | @PostMapping(value = "/list") |
| | | public FebsResponse list(@RequestBody @Validated ApiProductCategoryPageDto dto) { |
| | | |
| | | return aiProductCategoryService.categoryList(dto); |
| | | } |
| | | } |