From 574bc2e8dba9d1d11be124f2054ba2243fca125c Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 03 Sep 2025 13:43:21 +0800
Subject: [PATCH] feat(ai): 优化 prompt 构建逻辑并添加思考内容输出- 在 AliLlmStrategyServiceImpl 中添加了对思考内容的输出- 在 ApiMemberTalkStreamServiceImpl 中优化了 prompt 的构建逻辑 - 在 TestController 中调整了测试用例,使用枚举生成 prompt- 在 TestController 中添加了对思考内容的输出
---
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