| | |
| | | |
| | | private final IApiMallGoodsCategoryService mallGoodsCategoryService; |
| | | |
| | | @ApiOperation(value = "findAllCategoryList", notes = "获取商品分类列表") |
| | | @ApiOperation(value = "获取商品分类列表", notes = "获取商品分类列表") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = MallGoodsCategoryVo.class) |
| | | }) |
| | |
| | | return new FebsResponse().success().data(mallGoodsCategoryService.findAllCategoryList()); |
| | | } |
| | | |
| | | @ApiOperation(value = "findChildCategoryListById", notes = "获取父分类下分类") |
| | | @ApiOperation(value = "获取父分类下分类", notes = "获取父分类下分类") |
| | | @GetMapping(value = "/findChildCategoryListById/{id}") |
| | | public FebsResponse findChildCategoryListById(@PathVariable("id") Long id) { |
| | | return new FebsResponse().success().data(mallGoodsCategoryService.findChildCategoryListById(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "findRecommendCategory", notes = "获取推荐分类") |
| | | @ApiOperation(value = "获取推荐分类", notes = "获取推荐分类") |
| | | @GetMapping(value = "/findRecommendCategory") |
| | | public FebsResponse findRecommendCategory() { |
| | | return new FebsResponse().success().data(mallGoodsCategoryService.findRecommendCategory()); |