From 413a57e2524cb0b839d5d83d961de3b59814eb6e Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Fri, 24 Oct 2025 16:53:11 +0800
Subject: [PATCH] feat(ai): 实现产品依赖解锁功能 - 在AiMemberAnswerServiceImpl中注入AiProductDependencyService和AiMemberProductUnlockService - 修改insure方法,根据答题分数解锁符合条件的产品 - 新增selectListByProductIds和insertList方法到AiMemberProductUnlockService - 实现产品依赖关系查询方法selectListByProductId到AiProductDependencyService- 在AiProductServiceImpl中增加产品状态判断逻辑,支持锁定和解锁状态显示 - 添加memberId字段到ApiProductPageDto用于查询用户已解锁产品 - 在ApiProductVo中新增state字段表示产品锁定/解锁状态

---
 src/main/resources/templates/febs/views/modules/socialCircle/list.html |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/socialCircle/list.html b/src/main/resources/templates/febs/views/modules/socialCircle/list.html
index 15114fe..5e1e9b7 100644
--- a/src/main/resources/templates/febs/views/modules/socialCircle/list.html
+++ b/src/main/resources/templates/febs/views/modules/socialCircle/list.html
@@ -64,6 +64,15 @@
     <input type="checkbox" value={{d.id}} lay-text="展示|隐藏" lay-skin="switch" lay-filter="scStateSwitch">
     {{# } }}
 </script>
+<script type="text/html" id="socialTypeFormat">
+    {{# if(d.isNormal == 1) { }}
+    <span>普通社区内容</span>
+    {{# }else if(d.isNormal == 2) { }}
+    <span>视频号内容</span>
+    {{# } else { }}
+    <span>-</span>
+    {{# } }}
+</script>
 
 <script type="text/html" id="scToolbar">
     <div class="layui-btn-container">
@@ -203,11 +212,11 @@
 
                     {type: 'numbers', title: '', width: 80},
                     {title: '操作', toolbar: '#activityOption', minWidth: 200, align: 'center'},
-                    {field: 'name', title: '名称', minWidth: 150,align:'left'},
+                    {templet:"#socialTypeFormat",  title: '来源', minWidth: 140,align:'left'},
+                    {field: 'name', title: '标题', minWidth: 150,align:'left'},
                     {field: 'memberName', title: '发布人', minWidth: 150,align:'left'},
                     {field: 'categoryName', title: '分类', minWidth: 150,align:'left'},
-                    {field: 'name', title: '标题', minWidth: 150,align:'left'},
-                    {field: 'state', title: '状态', templet: '#scStateSwitch', minWidth: 130,align:'center'}
+                    {field: 'state', title: '状态', templet: '#scStateSwitch', minWidth: 130,align:'center'},
                 ]]
             });
         }

--
Gitblit v1.9.1