From 8657f3758fa1acef3445f82b82f81fdba5e0c1db Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 25 Sep 2025 11:29:00 +0800
Subject: [PATCH] feat(member): 更新会员公司ID逻辑 - 从API DTO中提取公司ID - 验证并转换公司编码为内部ID - 设置会员关联的公司ID - 优化公司信息查询逻辑 - 修复公司ID更新问题 - 确保会员信息正确绑定公司关系

---
 src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesSocialController.java |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesSocialController.java b/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesSocialController.java
index 67a32bd..42a02e3 100644
--- a/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesSocialController.java
+++ b/src/main/java/cc/mrbird/febs/mall/controller/clothes/ApiClothesSocialController.java
@@ -1,6 +1,7 @@
 package cc.mrbird.febs.mall.controller.clothes;
 
 import cc.mrbird.febs.common.entity.FebsResponse;
+import cc.mrbird.febs.mall.dto.ApiColletDelDto;
 import cc.mrbird.febs.mall.dto.clothes.*;
 import cc.mrbird.febs.mall.service.ApiClothesOrderService;
 import cc.mrbird.febs.mall.service.ApiClothesSocialService;
@@ -93,6 +94,13 @@
         return apiClothesSocialService.addCollect(dto);
     }
 
+    @ApiOperation(value = "是否收藏点赞收藏", notes = "是否收藏点赞收藏")
+    @PostMapping(value = "/followState")
+    public FebsResponse followState(@RequestBody @Validated ApiSocialCollectFollowStateDto dto) {
+
+        return apiClothesSocialService.followState(dto);
+    }
+
     @ApiOperation(value = "我的社区收藏", notes = "我的社区收藏")
     @ApiResponses({
             @ApiResponse(code = 200, message = "success", response = ApiSocialMyCollectVo.class)
@@ -103,6 +111,13 @@
         return apiClothesSocialService.myCollect(dto);
     }
 
+
+    @ApiOperation(value = "取消收藏")
+    @PostMapping(value = "/del")
+    public FebsResponse delCollection(@RequestBody ApiColletDelDto dto) {
+        return apiClothesSocialService.delCollection(dto);
+    }
+
     @ApiOperation(value = "我的灵感-跳转到开始设计", notes = "我的灵感-跳转到开始设计")
     @ApiResponses({
             @ApiResponse(code = 200, message = "success", response = ApiClothesSocialMuseVo.class)

--
Gitblit v1.9.1