From c8e3460c5aefedfa45dc19a7a8d5720a10d0f058 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 23 Sep 2025 15:38:44 +0800
Subject: [PATCH] feat(ai): 引入LlmApplicationAppIdEnum枚举优化工作流类型管理
---
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