From b51e14a5709a7433bc3ca4a2dab06b0e2a64156f Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 02 Sep 2025 13:54:39 +0800
Subject: [PATCH] refactor(ai): 优化 ApiMemberTalkStreamServiceImpl 中的代码逻辑- 移除了无用的代码行 - 调整了变量赋值的顺序,提高了代码可读性

---
 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