From cfbe9a4180c8d855c6bbe7b324ddfc42a681b35d Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 15 Sep 2025 09:56:29 +0800 Subject: [PATCH] feat(ai): 添加 AiCompany 实体、Mapper 及 XML 配置 --- src/main/java/cc/mrbird/febs/ai/controller/productCategory/ApiProductCategoryController.java | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/ai/controller/productCategory/ApiProductCategoryController.java b/src/main/java/cc/mrbird/febs/ai/controller/productCategory/ApiProductCategoryController.java index c29d398..34a2457 100644 --- a/src/main/java/cc/mrbird/febs/ai/controller/productCategory/ApiProductCategoryController.java +++ b/src/main/java/cc/mrbird/febs/ai/controller/productCategory/ApiProductCategoryController.java @@ -36,18 +36,7 @@ } - @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) }) @@ -56,4 +45,15 @@ 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); + } } -- Gitblit v1.9.1