From 0e7e1cfea951c7aee59a862c514e08a040523d9f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 25 Oct 2023 16:12:29 +0800
Subject: [PATCH] 版本管理

---
 src/main/resources/templates/febs/views/modules/chat/userPerkList.html |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/chat/userPerkList.html b/src/main/resources/templates/febs/views/modules/chat/userPerkList.html
index c080d04..2f30f11 100644
--- a/src/main/resources/templates/febs/views/modules/chat/userPerkList.html
+++ b/src/main/resources/templates/febs/views/modules/chat/userPerkList.html
@@ -61,13 +61,13 @@
     <a lay-event="edit" shiro:hasPermission="user:update"><i
             class="layui-icon febs-edit-area febs-blue">&#xe7a5;</i></a>
 </script>
-<!--<script type="text/html" id="switchIsRobot">-->
-<!--    {{# if(d.isRobot === 1) { }}-->
-<!--    <input type="checkbox" value={{d.userId}} lay-text="是|否" checked lay-skin="switch" lay-filter="switchIsRobot">-->
-<!--    {{# } else { }}-->
-<!--    <input type="checkbox" value={{d.userId}} lay-text="是|否" lay-skin="switch" lay-filter="switchIsRobot">-->
-<!--    {{# } }}-->
-<!--</script>-->
+<script type="text/html" id="switchGetBoom">
+    {{# if(d.getBoom === 1) { }}
+    <input type="checkbox" value={{d.userId}} lay-text="是|否" checked lay-skin="switch" lay-filter="switchGetBoom">
+    {{# } else { }}
+    <input type="checkbox" value={{d.userId}} lay-text="是|否" lay-skin="switch" lay-filter="switchGetBoom">
+    {{# } }}
+</script>
 <style>
     .layui-form-onswitch {
         background-color: #5FB878 !important;
@@ -145,7 +145,7 @@
                     {field: 'groupRedBagNum', title: '群红包数', minWidth: 80,align:'left'},
                     {field: 'redBagTotalAmount', title: '红包总额', minWidth: 80,align:'left'},
                     {field: 'redBagAvaAmount', title: '未领取', minWidth: 80,align:'left'},
-                    // {field: 'isRobot', title: '机器人', templet: '#switchIsRobot', minWidth: 80,align:'center'},
+                    {field: 'getBoom', title: '中雷', templet: '#switchGetBoom', minWidth: 80,align:'center'},
                     {field: 'createTime', title: '注册时间', minWidth: 180,align:'center'},
                 ]]
             });
@@ -213,21 +213,21 @@
             });
         }
 
-        form.on('switch(switchIsRobot)', function (data) {
+        form.on('switch(switchGetBoom)', function (data) {
             if (data.elem.checked) {
-                openSwitchIsRobot(data.value);
+                openSwitchGetBoom(data.value);
             } else {
-                closeSwitchIsRobot(data.value);
+                closeSwitchGetBoom(data.value);
             }
         })
-        function openSwitchIsRobot(userId) {
-            febs.get(ctx + 'admin/chat/openSwitchIsRobot/' + userId, null, function () {
+        function openSwitchGetBoom(userId) {
+            febs.get(ctx + 'admin/chat/openSwitchGetBoom/' + userId, null, function () {
                 febs.alert.success('操作成功');
                 $reset.click();
             });
         }
-        function closeSwitchIsRobot(userId) {
-            febs.get(ctx + 'admin/chat/closeSwitchIsRobot/' + userId, null, function () {
+        function closeSwitchGetBoom(userId) {
+            febs.get(ctx + 'admin/chat/closeSwitchGetBoom/' + userId, null, function () {
                 febs.alert.success('操作成功');
                 $reset.click();
             });

--
Gitblit v1.9.1