From f21002353a43abf5a7827b74ac1bf159a8436b22 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 04 Aug 2025 15:24:09 +0800 Subject: [PATCH] feat(ai): 添加 AI 用户表相关实体、Mapper 和服务接口 --- src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java b/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java index 83595a3..12fd860 100644 --- a/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java +++ b/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesController.java @@ -56,7 +56,7 @@ return clothesService.clothList(dto); } - @ApiOperation(value = "图案列表", notes = "图案列表") + @ApiOperation(value = "正面图案列表", notes = "图案列表") @ApiResponses({ @ApiResponse(code = 200, message = "success", response = ApiClothesPatternVo.class) }) @@ -76,7 +76,7 @@ return clothesService.sizeList(dto); } - @ApiOperation(value = "位置列表", notes = "位置列表") + @ApiOperation(value = "反面图案列表", notes = "反面图案列表") @ApiResponses({ @ApiResponse(code = 200, message = "success", response = ApiClothesLocationVo.class) }) @@ -123,11 +123,18 @@ return clothesService.statureInfo(dto); } - @ApiOperation(value = "身材数据-详情", notes = "身材数据-详情") + @ApiOperation(value = "身材数据-保存", notes = "身材数据-保存") @PostMapping(value = "/statureUpdate") public FebsResponse statureUpdate(@RequestBody @Validated ApiClothesMemberStatureUpdateDto dto) { return clothesService.statureUpdate(dto); + } + + @ApiOperation(value = "身材数据-设置默认", notes = "身材数据-设置默认") + @PostMapping(value = "/statureUpdateState") + public FebsResponse statureUpdateState(@RequestBody @Validated ApiClothesMemberStatureUpdateStateDto dto) { + + return clothesService.statureUpdateState(dto); } @ApiOperation(value = "身材数据-删除", notes = "身材数据-删除") @@ -146,4 +153,12 @@ return clothesService.draftSave(dto); } + + + @ApiOperation(value = "获取草稿角标数量") + @GetMapping(value = "/findDraftCnt") + public FebsResponse findDraftCnt() { + + return clothesService.findDraftCnt(); + } } -- Gitblit v1.9.1