Преглед на файлове

线上代码下载覆盖 2025-03-11

xiaohai преди 3 седмици
родител
ревизия
e030dce615

+ 20
- 20
app/admin/controller/content/Article.php Целия файл

@@ -4,9 +4,9 @@
4 4
 namespace app\admin\controller\content;
5 5
 
6 6
 
7
-use app\admin\logic\content\ClosureCategoryLogic;
8
-use app\admin\logic\content\ClosureLogic;
9
-use app\admin\validate\content\ClosureValidate;
7
+use app\admin\logic\content\ArticleCategoryLogic;
8
+use app\admin\logic\content\ArticleLogic;
9
+use app\admin\validate\content\ArticleValidate;
10 10
 use app\common\basics\AdminBase;
11 11
 use app\common\server\JsonServer;
12 12
 
@@ -16,30 +16,30 @@ class Article extends AdminBase
16 16
     {
17 17
         if ($this->request->isAjax()) {
18 18
             $get = $this->request->get();
19
-            $lists = ClosureLogic::lists($get);
19
+            $lists = ArticleLogic::lists($get);
20 20
             return JsonServer::success("获取成功", $lists);
21 21
         }
22 22
 
23 23
         return view('', [
24
-            'category' => ClosureCategoryLogic::getCategory()
24
+            'category' => ArticleCategoryLogic::getCategory()
25 25
         ]);
26 26
     }
27 27
 
28 28
     public function add()
29 29
     {
30 30
         if ($this->request->isAjax()) {
31
-            (new ClosureValidate())->goCheck('add');
31
+            (new ArticleValidate())->goCheck('add');
32 32
             $post = $this->request->post();
33
-            $res = ClosureLogic::add($post);
33
+            $res = ArticleLogic::add($post);
34 34
             if ($res === false) {
35
-                $error = ClosureLogic::getError() ?: '新增失败';
35
+                $error = ArticleLogic::getError() ?: '新增失败';
36 36
                 return JsonServer::error($error);
37 37
             }
38 38
             return JsonServer::success('新增成功');
39 39
         }
40 40
 
41 41
         return view('', [
42
-            'category' => ClosureCategoryLogic::getCategory()
42
+            'category' => ArticleCategoryLogic::getCategory()
43 43
         ]);
44 44
     }
45 45
 
@@ -50,11 +50,11 @@ class Article extends AdminBase
50 50
     public function edit()
51 51
     {
52 52
         if ($this->request->isAjax()) {
53
-            (new ClosureValidate())->goCheck('edit');
53
+            (new ArticleValidate())->goCheck('edit');
54 54
             $post = $this->request->post();
55
-            $res = ClosureLogic::edit($post);
55
+            $res = ArticleLogic::edit($post);
56 56
             if ($res === false) {
57
-                $error = ClosureLogic::getError() ?: '编辑失败';
57
+                $error = ArticleLogic::getError() ?: '编辑失败';
58 58
                 return JsonServer::error($error);
59 59
             }
60 60
             return JsonServer::success('编辑成功');
@@ -62,8 +62,8 @@ class Article extends AdminBase
62 62
 
63 63
         $id = $this->request->get('id');
64 64
         return view('', [
65
-            'detail'   => ClosureLogic::detail($id),
66
-            'category' => ClosureCategoryLogic::getCategory()
65
+            'detail'   => ArticleLogic::detail($id),
66
+            'category' => ArticleCategoryLogic::getCategory()
67 67
         ]);
68 68
     }
69 69
 
@@ -74,11 +74,11 @@ class Article extends AdminBase
74 74
     public function del()
75 75
     {
76 76
         if ($this->request->isAjax()) {
77
-            (new ClosureValidate())->goCheck('id');
77
+            (new ArticleValidate())->goCheck('id');
78 78
             $id = $this->request->post('id');
79
-            $res = ClosureLogic::del($id);
79
+            $res = ArticleLogic::del($id);
80 80
             if ($res === false) {
81
-                $error = ClosureLogic::getError() ?: '删除失败';
81
+                $error = ArticleLogic::getError() ?: '删除失败';
82 82
                 return JsonServer::error($error);
83 83
             }
84 84
             return JsonServer::success('删除成功');
@@ -94,11 +94,11 @@ class Article extends AdminBase
94 94
     public function hide()
95 95
     {
96 96
         if ($this->request->isAjax()) {
97
-            (new ClosureValidate())->goCheck('id');
97
+            (new ArticleValidate())->goCheck('id');
98 98
             $id = $this->request->post('id');
99
-            $res = ClosureLogic::hide($id);
99
+            $res = ArticleLogic::hide($id);
100 100
             if ($res === false) {
101
-                $error = ClosureLogic::getError() ?: '操作失败';
101
+                $error = ArticleLogic::getError() ?: '操作失败';
102 102
                 return JsonServer::error($error);
103 103
             }
104 104
             return JsonServer::success('操作成功');

+ 16
- 16
app/admin/controller/content/ArticleCategory.php Целия файл

@@ -4,8 +4,8 @@
4 4
 namespace app\admin\controller\content;
5 5
 
6 6
 
7
-use app\admin\logic\content\ClosureCategoryLogic;
8
-use app\admin\validate\content\ClosureCategoryValidate;
7
+use app\admin\logic\content\ArticleCategoryLogic;
8
+use app\admin\validate\content\ArticleCategoryValidate;
9 9
 use app\common\basics\AdminBase;
10 10
 use app\common\server\JsonServer;
11 11
 
@@ -19,7 +19,7 @@ class ArticleCategory extends AdminBase
19 19
     {
20 20
         if ($this->request->isAjax()) {
21 21
             $get = $this->request->get();
22
-            $lists = ClosureCategoryLogic::lists($get);
22
+            $lists = ArticleCategoryLogic::lists($get);
23 23
             return JsonServer::success("获取成功", $lists);
24 24
         }
25 25
 
@@ -33,11 +33,11 @@ class ArticleCategory extends AdminBase
33 33
     public function add()
34 34
     {
35 35
         if ($this->request->isAjax()) {
36
-            (new ClosureCategoryValidate())->goCheck('add');
36
+            (new ArticleCategoryValidate())->goCheck('add');
37 37
             $post = $this->request->post();
38
-            $res = ClosureCategoryLogic::add($post);
38
+            $res = ArticleCategoryLogic::add($post);
39 39
             if ($res === false) {
40
-                $error = ClosureCategoryLogic::getError() ?: '新增失败';
40
+                $error = ArticleCategoryLogic::getError() ?: '新增失败';
41 41
                 return JsonServer::error($error);
42 42
             }
43 43
             return JsonServer::success('新增成功');
@@ -54,11 +54,11 @@ class ArticleCategory extends AdminBase
54 54
     public function edit()
55 55
     {
56 56
         if ($this->request->isAjax()) {
57
-            (new ClosureCategoryValidate())->goCheck('edit');
57
+            (new ArticleCategoryValidate())->goCheck('edit');
58 58
             $post = $this->request->post();
59
-            $res = ClosureCategoryLogic::edit($post);
59
+            $res = ArticleCategoryLogic::edit($post);
60 60
             if ($res === false) {
61
-                $error = ClosureCategoryLogic::getError() ?: '编辑失败';
61
+                $error = ArticleCategoryLogic::getError() ?: '编辑失败';
62 62
                 return JsonServer::error($error);
63 63
             }
64 64
             return JsonServer::success('编辑成功');
@@ -66,7 +66,7 @@ class ArticleCategory extends AdminBase
66 66
 
67 67
         $id = $this->request->get('id');
68 68
         return view('', [
69
-            'detail' => ClosureCategoryLogic::detail($id)
69
+            'detail' => ArticleCategoryLogic::detail($id)
70 70
         ]);
71 71
     }
72 72
 
@@ -77,11 +77,11 @@ class ArticleCategory extends AdminBase
77 77
     public function del()
78 78
     {
79 79
         if ($this->request->isAjax()) {
80
-            (new ClosureCategoryValidate())->goCheck('id');
80
+            (new ArticleCategoryValidate())->goCheck('id');
81 81
             $id = $this->request->post('id');
82
-            $res = ClosureCategoryLogic::del($id);
82
+            $res = ArticleCategoryLogic::del($id);
83 83
             if ($res === false) {
84
-                $error = ClosureCategoryLogic::getError() ?: '删除失败';
84
+                $error = ArticleCategoryLogic::getError() ?: '删除失败';
85 85
                 return JsonServer::error($error);
86 86
             }
87 87
             return JsonServer::success('删除成功');
@@ -97,11 +97,11 @@ class ArticleCategory extends AdminBase
97 97
     public function hide()
98 98
     {
99 99
         if ($this->request->isAjax()) {
100
-            (new ClosureCategoryValidate())->goCheck('id');
100
+            (new ArticleCategoryValidate())->goCheck('id');
101 101
             $id = $this->request->post('id');
102
-            $res = ClosureCategoryLogic::hide($id);
102
+            $res = ArticleCategoryLogic::hide($id);
103 103
             if ($res === false) {
104
-                $error = ClosureCategoryLogic::getError() ?: '操作失败';
104
+                $error = ArticleCategoryLogic::getError() ?: '操作失败';
105 105
                 return JsonServer::error($error);
106 106
             }
107 107
             return JsonServer::success('操作成功');

+ 1
- 1
app/admin/view/setting/basic/copyright.html Целия файл

@@ -144,7 +144,7 @@
144 144
                 limit: 5,
145 145
                 field: "other_qualifications[]",
146 146
                 that: $(this),
147
-                content: '/admin/file/lists?type=10'
147
+                content: '/cY0aK2sG/file/lists?type=10'
148 148
             });
149 149
         })
150 150
 

+ 18
- 17
app/admin/view/shop/store/add.html Целия файл

@@ -25,14 +25,14 @@
25 25
                                switch-tab="0" autocomplete="off" class="layui-input">
26 26
                     </div>
27 27
                 </div>
28
-                <div class="layui-form-item">
28
+                <div class="layui-form-item" style="display: none;">
29 29
                     <label class="layui-form-label"><span style="color:red;">*</span>商家类型:</label>
30 30
                     <div class="layui-input-inline">
31 31
                         <input type="radio" name="type" value="1" title="官方自营" >
32 32
                         <input type="radio" name="type" value="2" title="入驻商家" checked>
33 33
                     </div>
34 34
                 </div>
35
-                <div class="layui-form-item">
35
+                <div class="layui-form-item" style="display: none;">
36 36
                     <label class="layui-form-label"><span style="color:red;">*</span>配送方式:</label>
37 37
                     <div class="layui-input-inline">
38 38
                         <input type="checkbox" name="delivery_type[]" value="1" title="快递发货" lay-skin="primary" checked disabled>
@@ -51,21 +51,21 @@
51 51
                         </select>
52 52
                     </div>
53 53
                 </div>
54
-                <div class="layui-form-item">
54
+                <div class="layui-form-item" style="display: none;">
55 55
                     <label for="nickname" class="layui-form-label"><span style="color:red;">*</span>联系人:</label>
56 56
                     <div class="layui-input-inline">
57 57
                         <input type="text" name="nickname" id="nickname" lay-verType="tips" lay-verify="nickname"
58
-                               switch-tab="0" autocomplete="off" class="layui-input">
58
+                               switch-tab="0" autocomplete="off" class="layui-input" value="wuwu">
59 59
                     </div>
60 60
                 </div>
61
-                <div class="layui-form-item">
61
+                <div class="layui-form-item" style="display: none;">
62 62
                     <label for="mobile" class="layui-form-label"><span style="color:red;">*</span>联系手机:</label>
63 63
                     <div class="layui-input-inline">
64 64
                         <input type="number" name="mobile" id="mobile" lay-verType="tips" lay-verify="mobile"
65
-                               switch-tab="0" autocomplete="off" class="layui-input">
65
+                               switch-tab="0" autocomplete="off" class="layui-input" value="13268119865">
66 66
                     </div>
67 67
                 </div>
68
-                <div class="layui-form-item">
68
+                <div class="layui-form-item" style="display: none;">
69 69
                     <label class="layui-form-label"><span style="color:red;">*</span>商家logo:</label>
70 70
                     <div class="layui-input-block">
71 71
                         <div class="like-upload-image" switch-tab="0" lay-verType="tips" lay-verify="logo">
@@ -73,9 +73,10 @@
73 73
                         </div>
74 74
                         <div class="layui-form-mid layui-word-aux">建议尺寸:宽200像素*高200像素的jpg,jpeg,png图片</div>
75 75
                     </div>
76
+                    <input type="hidden" name="logo" value="./uploads/images/20250221/202502211625593cc9c0131.png">
76 77
                 </div>
77 78
 
78
-                <div class="layui-form-item">
79
+                <div class="layui-form-item"  style="display: none;">
79 80
                     <label class="layui-form-label">商家地址:</label>
80 81
                     <div class="layui-input-block">
81 82
                         <div class="layui-input-inline" style="width:120px;">
@@ -95,7 +96,7 @@
95 96
                         </div>
96 97
                     </div>
97 98
                 </div>
98
-                <div class="layui-form-item">
99
+                <div class="layui-form-item"  style="display: none;">
99 100
                     <label class="layui-form-label">地图定位:</label>
100 101
                     <div class="layui-input-block">
101 102
                         <div class="layui-inline" >
@@ -112,19 +113,19 @@
112 113
                         </div>
113 114
                     </div>
114 115
                 </div>
115
-                <div class="layui-form-item ">
116
+                <div class="layui-form-item " style="display: none;">
116 117
                     <label class="layui-form-label"></label>
117 118
                     <div class="layui-input-block" style="margin-left:10px;">
118 119
                         <div id="map-container" style="width: 700px;height: 400px;margin-left: 115px;"></div>
119 120
                     </div>
120 121
                 </div>
121
-                <div class="layui-form-item">
122
+                <div class="layui-form-item"  style="display: none;">
122 123
                     <label for="keywords" class="layui-form-label">商家关键字:</label>
123 124
                     <div class="layui-input-inline">
124 125
                         <input type="text" name="keywords" id="keywords" autocomplete="off" class="layui-input">
125 126
                     </div>
126 127
                 </div>
127
-                <div class="layui-form-item">
128
+                <div class="layui-form-item" style="display: none;">
128 129
                     <label for="intro" class="layui-form-label">商家简介:</label>
129 130
                     <div class="layui-input-inline">
130 131
                         <textarea name="intro" id="intro" class="layui-textarea"></textarea>
@@ -140,18 +141,18 @@
140 141
                                switch-tab="1" autocomplete="off" class="layui-input">
141 142
                     </div>
142 143
                 </div>
143
-                <div class="layui-form-item">
144
+                <div class="layui-form-item" style="display: none;">
144 145
                     <label for="trade_service_fee" class="layui-form-label"><span style="color:red;">*</span>交易服务费:</label>
145 146
                     <div class="layui-input-inline">
146 147
                         <input type="number" min="0" max="100" name="trade_service_fee" id="trade_service_fee"
147 148
                                lay-verType="tips" lay-verify="trade_service_fee"
148 149
                                onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"
149
-                               switch-tab="1" autocomplete="off" class="layui-input">
150
+                               switch-tab="1" autocomplete="off" class="layui-input" value="0">
150 151
                         <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">平台每笔交易收取的服务费用。请填写百分比,填0表示不收取服务费</div>
151 152
                     </div>
152 153
                     <div class="layui-form-mid layui-word-aux">%</div>
153 154
                 </div>
154
-                <div class="layui-form-item">
155
+                <div class="layui-form-item" style="display: none;">
155 156
                     <label for="expire_time" class="layui-form-label"><span style="color:red;">*</span>产品审核:</label>
156 157
                     <div class="layui-input-inline">
157 158
                         <input type="radio" name="is_product_audit" value="1" title="需要审核">
@@ -270,10 +271,10 @@
270 271
             },
271 272
             logo: function (value, item) {
272 273
                 if (!value) {
273
-                    if ($(item).find(".upload-image-div").length <= 0) {
274
+                    /*if ($(item).find(".upload-image-div").length <= 0) {
274 275
                         switchTab($(item).attr("switch-tab"))
275 276
                         return "请上传商家logo";
276
-                    }
277
+                    }*/
277 278
                 }
278 279
             },
279 280
             expire_time: function (value, item) {

+ 13
- 12
app/admin/view/shop/store/edit.html Целия файл

@@ -25,14 +25,14 @@
25 25
                                switch-tab="0" autocomplete="off" class="layui-input">
26 26
                     </div>
27 27
                 </div>
28
-                <div class="layui-form-item">
28
+                <div class="layui-form-item" style="display: none;">
29 29
                     <label class="layui-form-label"><span style="color:red;">*</span>商家类型:</label>
30 30
                     <div class="layui-input-inline">
31 31
                         <input type="radio" name="type" value="1" title="官方自营" {if $detail.type==1}checked{/if}>
32 32
                         <input type="radio" name="type" value="2" title="入驻商家" {if $detail.type==2}checked{/if}>
33 33
                     </div>
34 34
                 </div>
35
-                <div class="layui-form-item">
35
+                <div class="layui-form-item" style="display: none;">
36 36
                     <label class="layui-form-label"><span style="color:red;">*</span>配送方式:</label>
37 37
                     <div class="layui-input-inline">
38 38
                         <input type="checkbox" name="delivery_type[]" value="1" title="快递发货" disabled lay-skin="primary" checked disabled>
@@ -51,21 +51,21 @@
51 51
                         </select>
52 52
                     </div>
53 53
                 </div>
54
-                <div class="layui-form-item">
54
+                <div class="layui-form-item" style="display: none;">
55 55
                     <label for="nickname" class="layui-form-label"><span style="color:red;">*</span>联系人:</label>
56 56
                     <div class="layui-input-inline">
57 57
                         <input type="text" name="nickname" id="nickname" value="{$detail.nickname}" lay-verType="tips" lay-verify="nickname"
58 58
                                switch-tab="0" autocomplete="off" class="layui-input">
59 59
                     </div>
60 60
                 </div>
61
-                <div class="layui-form-item">
61
+                <div class="layui-form-item" style="display: none;">
62 62
                     <label for="mobile" class="layui-form-label"><span style="color:red;">*</span>联系手机:</label>
63 63
                     <div class="layui-input-inline">
64 64
                         <input type="number" name="mobile" id="mobile" value="{$detail.mobile}" lay-verType="tips" lay-verify="phone"
65 65
                                switch-tab="0" autocomplete="off" class="layui-input">
66 66
                     </div>
67 67
                 </div>
68
-                <div class="layui-form-item">
68
+                <div class="layui-form-item" style="display: none;">
69 69
                     <label class="layui-form-label"><span style="color:red;">*</span>商家logo:</label>
70 70
                     <div class="layui-input-inline">
71 71
                         <div class="like-upload-image" switch-tab="0" lay-verType="tips" lay-verify="logo">
@@ -81,9 +81,10 @@
81 81
                             {/if}
82 82
                         </div>
83 83
                     </div>
84
+                    <input type="hidden" name="logo" value="./uploads/images/20250221/202502211625593cc9c0131.png">
84 85
                 </div>
85 86
 
86
-                <div class="layui-form-item">
87
+                <div class="layui-form-item"  style="display: none;">
87 88
                     <label class="layui-form-label">商家地址:</label>
88 89
                     <div class="layui-input-block">
89 90
                         <div class="layui-input-inline" style="width:120px;">
@@ -103,7 +104,7 @@
103 104
                         </div>
104 105
                     </div>
105 106
                 </div>
106
-                <div class="layui-form-item">
107
+                <div class="layui-form-item"  style="display: none;">
107 108
                     <label class="layui-form-label">地图定位:</label>
108 109
                     <div class="layui-input-block">
109 110
                         <div class="layui-inline" >
@@ -120,20 +121,20 @@
120 121
                         </div>
121 122
                     </div>
122 123
                 </div>
123
-                <div class="layui-form-item ">
124
+                <div class="layui-form-item " style="display: none;">
124 125
                     <label class="layui-form-label"></label>
125 126
                     <div class="layui-input-block" style="margin-left:10px;">
126 127
                         <div id="map-container" style="width: 700px;height: 400px;margin-left: 115px;"></div>
127 128
                     </div>
128 129
                 </div>
129 130
 
130
-                <div class="layui-form-item">
131
+                <div class="layui-form-item"  style="display: none;">
131 132
                     <label for="keywords" class="layui-form-label">商家关键字:</label>
132 133
                     <div class="layui-input-inline">
133 134
                         <input type="text" name="keywords" id="keywords" value="{$detail.keywords}" autocomplete="off" class="layui-input">
134 135
                     </div>
135 136
                 </div>
136
-                <div class="layui-form-item">
137
+                <div class="layui-form-item" style="display: none;">
137 138
                     <label for="intro" class="layui-form-label">商家简介:</label>
138 139
                     <div class="layui-input-inline">
139 140
                         <textarea name="intro" id="intro" class="layui-textarea">{$detail.intro}</textarea>
@@ -150,7 +151,7 @@
150 151
                                switch-tab="1" autocomplete="off" class="layui-input">
151 152
                     </div>
152 153
                 </div>
153
-                <div class="layui-form-item">
154
+                <div class="layui-form-item" style="display: none;">
154 155
                     <label for="trade_service_fee" class="layui-form-label"><span style="color:red;">*</span>交易服务费:</label>
155 156
                     <div class="layui-input-inline">
156 157
                         <input type="number" min="0" max="100" name="trade_service_fee" id="trade_service_fee" value="{$detail.trade_service_fee}"
@@ -161,7 +162,7 @@
161 162
                     </div>
162 163
                     <div class="layui-form-mid layui-word-aux">%</div>
163 164
                 </div>
164
-                <div class="layui-form-item">
165
+                <div class="layui-form-item" style="display: none;">
165 166
                     <label for="expire_time" class="layui-form-label"><span style="color:red;">*</span>产品审核:</label>
166 167
                     <div class="layui-input-inline">
167 168
                         <input type="radio" name="is_product_audit" value="1" title="需要审核" {if $detail.is_product_audit}checked{/if}>

+ 3
- 3
app/admin/view/shop/store/set.html Целия файл

@@ -7,7 +7,7 @@
7 7
 <div class="layui-card layui-form" style="box-shadow:none;">
8 8
 
9 9
     <div class="layui-card-body">
10
-        <div class="layui-form-item">
10
+        <div class="layui-form-item" style="display: none;">
11 11
             <label class="layui-form-label">推荐商家:</label>
12 12
             <div class="layui-input-inline">
13 13
                 <input type="radio" name="is_recommend" value="1" title="是" {if $detail.is_recommend}checked{/if}>
@@ -15,7 +15,7 @@
15 15
                 <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">商城首页会显示推荐的商家</div>
16 16
             </div>
17 17
         </div>
18
-        <div class="layui-form-item">
18
+        <div class="layui-form-item" style="display: none;">
19 19
             <label class="layui-form-label">分销功能:</label>
20 20
             <div class="layui-input-inline">
21 21
                 <input type="radio" name="is_distribution" value="1" title="是" {if $detail.is_distribution}checked{/if}>
@@ -23,7 +23,7 @@
23 23
                 <div class="layui-form-mid layui-word-aux" style="white-space:nowrap;">开启或关闭分销功能,关闭后商家不参与分销推广</div>
24 24
             </div>
25 25
         </div>
26
-        <div class="layui-form-item">
26
+        <div class="layui-form-item" style="display: none;">
27 27
             <label class="layui-form-label">支付功能:</label>
28 28
             <div class="layui-input-inline">
29 29
                 <input type="radio" name="is_pay" value="1" title="开启" {if $detail.is_pay}checked{/if}>

+ 67
- 8
app/api/controller/ShopContent.php Целия файл

@@ -21,7 +21,7 @@ namespace app\api\controller;
21 21
 use app\common\basics\Api;
22 22
 
23 23
 use app\common\model\shop\ShopGoods as shopGoodsModel;
24
-use app\common\model\shop\shop as shopModel;
24
+use app\common\model\shop\Shop as shopModel;
25 25
 
26 26
 use app\common\server\ConfigServer;
27 27
 use app\common\server\JsonServer;
@@ -32,7 +32,7 @@ use app\api\logic\ShopContentLogic;
32 32
 
33 33
 class ShopContent extends Api
34 34
 {
35
-    public $like_not_need_login = ['getShopInfo', 'getShopList','getNearbyShops','smsCode','getShopConfig','getXpath','getAppService','getRunNum'];
35
+    public $like_not_need_login = ['getShopInfo', 'getShopList','getNearbyShops','smsCode','getShopConfig','getXpath','getAppService','getRunNum','getShopConfig2'];
36 36
 
37 37
     /**
38 38
      * 店铺信息
@@ -118,6 +118,7 @@ class ShopContent extends Api
118 118
      * 获取配置
119 119
      * 拼接默认配置 + 设备配置
120 120
      * 需要加密
121
+     *  https://api.zx2049.com/api/shopContent/getShopConfig?code=7729c5e9779d9eb37c75a2715e332b29
121 122
      */
122 123
     public function getShopConfig(){
123 124
         //判断是否存在默认配置
@@ -143,6 +144,8 @@ class ShopContent extends Api
143 144
             }
144 145
             //存在手机设备
145 146
             if(isset($mobile_list['ids'])){
147
+                //dump($mobile_list);die;
148
+                //var_dump($mobile_list['ids']);die;
146 149
                 //通过配置id 获取具体的配置
147 150
                 $json_data = ShopContentLogic::getMobileConfig($mobile_list['data'],$mobile_list['ids'],$mobile_list['ver']);
148 151
             }
@@ -155,6 +158,59 @@ class ShopContent extends Api
155 158
             $str = json_encode($json_data,JSON_UNESCAPED_UNICODE); //讲数组转为字符串
156 159
             $sign = openssl_encrypt($str, 'AES-128-CBC', $key,  OPENSSL_RAW_DATA, $vi);
157 160
             $sign = base64_encode($sign);
161
+
162
+            //先跳过加密
163
+            $res = [
164
+                'data' => $json_data
165
+            ];
166
+            return JsonServer::success($data['msg'], $res);
167
+        }
168
+    }
169
+
170
+
171
+    /*
172
+     * https://api.zx2049.com/api/shopContent/getShopConfig2?code=7729c5e9779d9eb37c75a2715e332b29
173
+     */
174
+    public function getShopConfig2(){
175
+        //判断是否存在默认配置
176
+        $code = request()->param('code'); //秘钥
177
+        $data = ShopContentLogic::getComputer($code);
178
+
179
+        //var_dump($data);
180
+
181
+        if($data['status'] !== 100){
182
+            //失败 直接报错
183
+            return JsonServer::error('请求错误-'.$data['msg']);
184
+        }else{
185
+            $json_data = [];
186
+            //通过 电脑设备信息 获取手机配置
187
+            $default_config = ShopContentLogic::getDefaultMobile($data['item']);
188
+            if($default_config['status'] !== 100){
189
+                return JsonServer::error('请求错误-'.$default_config['msg']);
190
+            }
191
+            //通过 电脑设备信息 获取手机信息
192
+            $mobile_list = ShopContentLogic::getMobile($data['item']);
193
+            if($mobile_list['status'] !== 100){
194
+                return JsonServer::error('请求错误-'.$mobile_list['msg']);
195
+            }
196
+            //存在手机设备
197
+            if(isset($mobile_list['ids'])){
198
+                //dump($mobile_list);die;
199
+                //var_dump($mobile_list['ids']);die;
200
+                //通过配置id 获取具体的配置
201
+                $json_data = ShopContentLogic::getMobileConfig($mobile_list['data'],$mobile_list['ids'],$mobile_list['ver']);
202
+            }
203
+            //直接使用默认配置
204
+            $json_data['default'] = $default_config['data'];
205
+
206
+            //data 针对
207
+            $key = 'ABCDEFGHIJKLMNOP'; //16位
208
+            $vi  = '0102030405060708'; //16位
209
+            $str = json_encode($json_data,JSON_UNESCAPED_UNICODE); //讲数组转为字符串
210
+            $sign = openssl_encrypt($str, 'AES-128-CBC', $key,  OPENSSL_RAW_DATA, $vi);
211
+            $sign = base64_encode($sign);
212
+
213
+            //先跳过加密
158 214
             $res = [
159 215
                 'data' => $sign
160 216
             ];
@@ -162,9 +218,11 @@ class ShopContent extends Api
162 218
         }
163 219
     }
164 220
 
221
+
165 222
     /*
166 223
      * xpath规则维护
167 224
      * 无需加密 获取到页无用
225
+     * https://api.zx2049.com/api/shopContent/getXpath?app=xhs
168 226
      */
169 227
     public function getXpath(){
170 228
 
@@ -215,9 +273,9 @@ class ShopContent extends Api
215 273
         $shop_id = $data['shop_id'];
216 274
         if((int)$shop_id > 0){
217 275
             $config = [
218
-                'dingding_url' => ConfigServer::get('shop_app_service', 'dingding_url', '',$shop_id),
219
-                'dingding_pass' => ConfigServer::get('shop_app_service', 'dingding_pass', '',$shop_id),
220
-                'dingding_user' => ConfigServer::get('shop_app_service', 'dingding_user', '',$shop_id),
276
+                "dingding_url" => ConfigServer::get('shop_app_service', 'dingding_url', '',$shop_id),
277
+                "dingding_pass" => ConfigServer::get('shop_app_service', 'dingding_pass', '',$shop_id),
278
+                "dingding_user" => ConfigServer::get('shop_app_service', 'dingding_user', '',$shop_id)
221 279
             ];
222 280
 
223 281
             $key = 'ABCDEFGHIJKLMNOP'; //16位
@@ -225,8 +283,9 @@ class ShopContent extends Api
225 283
             $str = json_encode($config,JSON_UNESCAPED_UNICODE);
226 284
             $sign = openssl_encrypt($str, 'AES-128-CBC', $key,  OPENSSL_RAW_DATA, $vi);
227 285
             $sign = base64_encode($sign);
286
+
228 287
             $res = [
229
-                'data' => $sign
288
+                'data' => $config
230 289
             ];
231 290
             //var_dump($sign);die();
232 291
 
@@ -239,7 +298,7 @@ class ShopContent extends Api
239 298
 
240 299
     /*
241 300
      * 通过 code 获取 可同时运行数量
242
-     *  http://shop.zx10000.com/api/shopcontent/getRunNum
301
+     *  https://api.zx2049.com/api/shopContent/getRunNum?code=7729c5e9779d9eb37c75a2715e332b29
243 302
      */
244 303
 
245 304
     public function getRunNum()
@@ -282,4 +341,4 @@ class ShopContent extends Api
282 341
      *
283 342
      */
284 343
 
285
-}
344
+}

+ 38
- 10
app/api/logic/ShopContentLogic.php Целия файл

@@ -112,6 +112,9 @@ class ShopContentLogic extends Logic
112 112
                     'msg' => "超出套餐服务电脑数量!"
113 113
                 ];
114 114
             }else {
115
+
116
+                //var_dump($mcode);
117
+                //var_dump($item['machine_code']);
115 118
                 //机器码已存在
116 119
                 if($item['machine_code'] != $mcode){
117 120
                     //机器码不一致
@@ -161,6 +164,8 @@ class ShopContentLogic extends Logic
161 164
         ];
162 165
         $code_list = EquiCategoryModel::where($where)->order('id asc')->limit($count_pc)->column('code');
163 166
 
167
+        //var_dump($code);
168
+
164 169
         if(in_array($code,$code_list)){
165 170
             return true;
166 171
         }
@@ -187,6 +192,7 @@ class ShopContentLogic extends Logic
187 192
         ];
188 193
         $item = EquiCategoryModel::where($where)->find();
189 194
 
195
+
190 196
         if(empty($item))
191 197
         {
192 198
             $data = [
@@ -244,7 +250,7 @@ class ShopContentLogic extends Logic
244 250
                                 'msg' => "存在默认配置!",
245 251
                                 'data' => json_decode($item['json_data'],true)
246 252
                             ];
247
-                            $data['data']['版本号'] = $v['ver'];
253
+                            $data['data']['ver'] = $v['ver'];
248 254
                         }
249 255
                     }
250 256
                 }
@@ -280,9 +286,9 @@ class ShopContentLogic extends Logic
280 286
         }
281 287
 
282 288
         //只调用允许数量 按id排序即可  后台不可更改排序
283
-        $list = EquiCategoryModel::where(['pid'=>$data['id'],'is_show'=>1,'del'=>0])
289
+        $list = EquiCategoryModel::where(['pid'=>$data['id'],'is_show'=>1,'del'=>0,'is_user'=>1])
284 290
             ->order('id asc')
285
-            ->limit($count_mobile)
291
+            ->limit($count_run)
286 292
             ->select();
287 293
 
288 294
         if(empty($list)){
@@ -304,6 +310,9 @@ class ShopContentLogic extends Logic
304 310
             }else{
305 311
                 $pz_list = [];
306 312
                 $ids = [];
313
+
314
+                //dump($list->toArray());die;
315
+
307 316
                 foreach ($list as $k=>$v){
308 317
                     //没有配置指定 就使用默认的配置
309 318
                     if(!empty($v['pz'])){
@@ -311,9 +320,9 @@ class ShopContentLogic extends Logic
311 320
                         foreach ($pz as $kk=>$vv){
312 321
                             //小红书
313 322
                             if((int)$vv['cid'] === (int)$app_id){
314
-                                $pz_list[(int)$vv['val']] = $v['name'];
323
+                                $pz_list[] = $v['name'];
315 324
                                 $ids[] = $vv['val'];
316
-                                $ver[(int)$vv['val']] = $vv['ver']; //版本号
325
+                                $ver[] = $vv['ver']; //版本号
317 326
                             }
318 327
                         }
319 328
                     }
@@ -345,12 +354,30 @@ class ShopContentLogic extends Logic
345 354
         $res = [];
346 355
         if(!empty($ids)){
347 356
             $list = Closure::where('id','in',$ids)->select();
348
-            foreach ($list as $k=>$v){
357
+
358
+            //用配置id 作 key 如果配置id相同 就会覆盖
359
+            /* foreach ($list as $k=>$v){
349 360
                 if(!empty($v['json_data'])){
350 361
                     $res[$data[(int)$v['id']]] = json_decode($v['json_data'],true);
351 362
                     $res[$data[(int)$v['id']]]['ver'] = $ver[(int)$v['id']]; //追加版本号
352 363
                 }
364
+            }*/
365
+
366
+            //重写
367
+            $pz_list = [];
368
+            foreach ($list as $k=>$v){
369
+                if(!empty($v['json_data'])) {
370
+                    $pz_list[$v['id']] = $v;
371
+                }
372
+            }
373
+
374
+            foreach ($ids as $k=>$v){
375
+                if(!empty($pz_list[$v])){
376
+                    $res[$data[$k]] = json_decode($pz_list[$v]['json_data'],true);
377
+                    $res[$data[$k]]['ver'] = $ver[$k]; //追加版本号
378
+                }
353 379
             }
380
+
354 381
         }
355 382
         return $res;
356 383
     }
@@ -613,8 +640,8 @@ class ShopContentLogic extends Logic
613 640
         $data = [
614 641
             '默认' => '',
615 642
             "搜索列表" => '//androidx.recyclerview.widget.RecyclerView[@class="androidx.recyclerview.widget.RecyclerView"]/android.widget.FrameLayout[@class="android.widget.FrameLayout"]/android.widget.RelativeLayout[@class="android.widget.RelativeLayout"]/android.widget.TextView[@class="android.widget.TextView" and @text!=""]',
616
-            "推荐列表" => '//androidx.recyclerview.widget.RecyclerView[@class="androidx.recyclerview.widget.RecyclerView"]/android.widget.FrameLayout[@class="android.widget.FrameLayout" and @content-desc!=""]',
617
-            '推荐列表元素' => '//android.widget.FrameLayout[@content-desc="变量1"]',
643
+            "推荐列表" => '//androidx.recyclerview.widget.RecyclerView[@class="androidx.recyclerview.widget.RecyclerView"]/android.widget.LinearLayout[@class="android.widget.LinearLayout" and @content-desc!=""]',
644
+            '推荐列表元素' => '//android.widget.LinearLayout[@content-desc="变量1"]',
618 645
             '搜索列表元素' => '//android.widget.TextView[@text="变量1"]',
619 646
             "私信发送按钮" => '//android.view.ViewGroup[@class="android.view.ViewGroup"]/android.widget.TextView[contains(@text,"发送")]',
620 647
             '判断当前是否视频' => '//android.view.ViewGroup[@class="android.view.ViewGroup"]/android.widget.Button[@content-desc="分享"]',
@@ -636,11 +663,12 @@ class ShopContentLogic extends Logic
636 663
     }
637 664
     public static function getXhsAppuim_1()
638 665
     {
666
+        //           /parent::*[1]/
639 667
         $data = [
640 668
             "默认" => '',
641 669
             "搜索列表" => '//androidx.recyclerview.widget.RecyclerView[@class="androidx.recyclerview.widget.RecyclerView"]/android.widget.FrameLayout[@class="android.widget.FrameLayout"]/android.widget.RelativeLayout[@class="android.widget.RelativeLayout"]/android.widget.TextView[@class="android.widget.TextView" and @text!=""]',
642
-            "推荐列表" => '//androidx.recyclerview.widget.RecyclerView[@class="androidx.recyclerview.widget.RecyclerView"]/android.widget.LinearLayout[@class="android.widget.LinearLayout" and @content-desc!=""]',
643
-            '推荐列表元素' => '//android.widget.LinearLayout[@content-desc="变量1"]',
670
+            "推荐列表" => '//androidx.recyclerview.widget.RecyclerView[@class="androidx.recyclerview.widget.RecyclerView"]/android.widget.FrameLayout[@class="android.widget.FrameLayout" and @content-desc!=""]',
671
+            '推荐列表元素' => '//android.widget.FrameLayout[@content-desc="变量1"]',
644 672
             '搜索列表元素' => '//android.widget.TextView[@text="变量1"]',
645 673
             "私信发送按钮" => '//android.widget.RelativeLayout[@class="android.widget.RelativeLayout"]/android.widget.TextView[contains(@text,"发送")]',
646 674
             '判断当前是否视频' => '//android.widget.FrameLayout[@class="android.widget.FrameLayout" and @index="1"]/android.widget.LinearLayout[@index="0"]/android.widget.LinearLayout[@index="3"]/android.widget.TextView[@class="android.widget.TextView"]',

+ 1
- 1
app/shop/controller/content/appService.php Целия файл

@@ -6,7 +6,7 @@ use app\common\server\ConfigServer;
6 6
 use app\common\server\JsonServer;
7 7
 use app\common\server\UrlServer;
8 8
 
9
-class appService extends ShopBase
9
+class AppService extends ShopBase
10 10
 {
11 11
 
12 12
     /*

+ 2
- 2
app/shop/logic/content/ClosureCategoryLogic.php Целия файл

@@ -53,10 +53,10 @@ class ClosureCategoryLogic extends Logic
53 53
             foreach($be_name_list as $key=>$row){
54 54
                 if(!in_array($row,$names)){
55 55
                     $third_cate_id = 0;
56
-                    if($item == '默认'){
56
+                    if($row == '默认'){
57 57
                         $third_cate_id = 1;
58 58
                     }
59
-                    $model->insert(['name'=>$item,'shop_id'=>$shop_id,'is_show'=>1,'third_cate_id' => $third_cate_id,'create_time' => time(),
59
+                    $model->insert(['name'=>$row,'shop_id'=>$shop_id,'is_show'=>1,'third_cate_id' => $third_cate_id,'create_time' => time(),
60 60
                         'update_time' => time()]);
61 61
                 }
62 62
             }

+ 4
- 4
app/shop/view/content/closure/add.html Целия файл

@@ -75,8 +75,8 @@
75 75
                 <li data-type='4'>浏览笔记</li>
76 76
                 <li data-type='5'>浏览视频</li>
77 77
                 <li data-type='6'>互动设置</li>
78
-                <li data-type='7'>目标设置</li>
79
-                <li data-type='8'>目标规则</li>
78
+                <li data-type='7'>获客设置</li>
79
+                <li data-type='8'>获客规则</li>
80 80
                 <li data-type='9'>其他设置</li>
81 81
             </ul>
82 82
             <div class="layui-tab-content">
@@ -104,11 +104,11 @@
104 104
                 <div class="layui-tab-item">
105 105
                     {include file="content/closure/setting/06"/}
106 106
                 </div>
107
-                <!--目标设置-->
107
+                <!--获客设置-->
108 108
                 <div class="layui-tab-item">
109 109
                     {include file="content/closure/setting/07"/}
110 110
                 </div>
111
-                <!--目标规则-->
111
+                <!--获客规则-->
112 112
                 <div class="layui-tab-item">
113 113
                     {include file="content/closure/setting/08"/}
114 114
                 </div>

+ 4
- 4
app/shop/view/content/closure/edit.html Целия файл

@@ -72,8 +72,8 @@
72 72
                 <li data-type='4'>浏览笔记</li>
73 73
                 <li data-type='5'>浏览视频</li>
74 74
                 <li data-type='6'>互动设置</li>
75
-                <li data-type='7'>目标设置</li>
76
-                <li data-type='8'>目标规则</li>
75
+                <li data-type='7'>获客设置</li>
76
+                <li data-type='8'>获客规则</li>
77 77
                 <li data-type='9'>其他设置</li>
78 78
             </ul>
79 79
             <div class="layui-tab-content">
@@ -101,11 +101,11 @@
101 101
                 <div class="layui-tab-item">
102 102
                     {include file="content/closure/edit/06"/}
103 103
                 </div>
104
-                <!--目标设置-->
104
+                <!--获客设置-->
105 105
                 <div class="layui-tab-item">
106 106
                     {include file="content/closure/edit/07"/}
107 107
                 </div>
108
-                <!--目标规则-->
108
+                <!--获客规则-->
109 109
                 <div class="layui-tab-item">
110 110
                     {include file="content/closure/edit/08"/}
111 111
                 </div>

+ 2
- 2
app/shop/view/content/closure/edit/02.html Целия файл

@@ -21,7 +21,7 @@
21 21
 </div>
22 22
 
23 23
 
24
-<div class="layui-form-item" id="a5">
24
+<div class="layui-form-item" id="a5" {if $extend.a1=='搜索'}style="display: none;{/if}>
25 25
     <label for="intro" class="layui-form-label">推荐搜索:</label>
26 26
     <div class="layui-input-block">
27 27
         每运行<font>推荐</font>
@@ -33,7 +33,7 @@
33 33
     </div>
34 34
 </div>
35 35
 
36
-<div class="layui-form-item" id="a6" style="display: none;">
36
+<div class="layui-form-item" id="a6" {if $extend.a1=='推荐'}style="display: none;{/if}">
37 37
     <label for="intro" class="layui-form-label">搜索推荐:</label>
38 38
     <div class="layui-input-block">
39 39
         每运行<font>搜索</font>

+ 2
- 2
app/shop/view/content/closure/edit/05.html Целия файл

@@ -147,7 +147,7 @@
147 147
             </div>
148 148
         </div>
149 149
 
150
-        <div class="layui-col-md12">
150
+        <div class="layui-col-md12" style="display: none;">
151 151
             <div class="layui-card">
152 152
                 <div class="layui-card-header">是否完整观看以及观看时长(已丢弃)</div>
153 153
                 <div class="layui-card-body">
@@ -183,7 +183,7 @@
183 183
                     </div>
184 184
 
185 185
                     <div class="layui-form-item">
186
-                        <label for="intro" class="layui-form-label">目标视频:</label>
186
+                        <label for="intro" class="layui-form-label">获客视频:</label>
187 187
                         <div class="layui-input-block">
188 188
                             每浏览
189 189
                             <input type="number" name="d9[]" id="" autocomplete="off" class="layui-input w30" value="{$extend.d9[0]??'10'}">

+ 5
- 5
app/shop/view/content/closure/edit/06.html Целия файл

@@ -13,7 +13,7 @@
13 13
     <div class="layui-input-inline">
14 14
         <select name="e2" id="" lay-verType="" lay-verify="required">
15 15
             <option value="场景1_是否开启全局默认互动" {if $extend.e2=='场景1_是否开启全局默认互动'}selected{/if} >场景1_是否开启全局默认互动</option>
16
-            <option value="场景2_是否开启目标与非目标独立互动" {if $extend.e2=='场景2_是否开启目标与非目标独立互动'}selected{/if} >场景2_是否开启目标与非目标独立互动</option>
16
+            <option value="场景2_是否开启截流与非截流独立互动" {if $extend.e2=='场景2_是否开启截流与非截流独立互动'}selected{/if} >场景2_是否开启获客与非获客独立互动</option>
17 17
         </select>
18 18
     </div>
19 19
 </div>
@@ -28,8 +28,8 @@
28 28
         <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
29 29
             <ul class="layui-tab-title">
30 30
                 <li class="layui-this">默认互动</li>
31
-                <li>目标互动</li>
32
-                <li>非目标互动</li>
31
+                <li>获客互动</li>
32
+                <li>非获客互动</li>
33 33
             </ul>
34 34
             <div class="layui-tab-content" style="">
35 35
                 <div class="layui-tab-item layui-show">
@@ -120,7 +120,7 @@
120 120
 
121 121
 
122 122
                     <div class="layui-form-item">
123
-                        <label for="intro" class="layui-form-label">目标:</label>
123
+                        <label for="intro" class="layui-form-label">获客:</label>
124 124
                         <div class="layui-input-block">
125 125
 
126 126
         <span class="ds">
@@ -203,7 +203,7 @@
203 203
 
204 204
 
205 205
                     <div class="layui-form-item">
206
-                        <label for="intro" class="layui-form-label">非目标:</label>
206
+                        <label for="intro" class="layui-form-label">非获客:</label>
207 207
                         <div class="layui-input-block">
208 208
 
209 209
         <span class="ds">

+ 16
- 16
app/shop/view/content/closure/edit/07.html Целия файл

@@ -1,24 +1,24 @@
1 1
 
2
-<div class="layui-form-item">
3
-    <label class="layui-form-label">限制目标:</label>
2
+<div class="layui-form-item" style="display: none;">
3
+    <label class="layui-form-label">限制获客:</label>
4 4
     <div class="layui-input-inline">
5 5
 
6 6
         <input type="radio" name="f1" value="1" title="是" {if $extend.f1==1}checked{/if} disabled>
7 7
         <input type="radio" name="f1" value="0" title="否" {if $extend.f1==0}checked{/if} >
8 8
 
9
-        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启强制目标模式</div>
9
+        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启强制获客模式</div>
10 10
     </div>
11 11
 </div>
12 12
 
13 13
 
14 14
 <div class="layui-form-item">
15
-    <label class="layui-form-label">目标开关:</label>
15
+    <label class="layui-form-label">获客开关:</label>
16 16
     <div class="layui-input-inline">
17 17
 
18 18
         <input type="radio" name="f27" value="1" title="是" {if isset($extend.f27)&&$extend.f27==1}checked{/if} {if !isset($extend.f27)}checked{/if}>
19 19
         <input type="radio" name="f27" value="0" title="否"  {if isset($extend.f27)&&$extend.f27==0}checked{/if}>
20 20
 
21
-        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启目标</div>
21
+        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启获客</div>
22 22
     </div>
23 23
 </div>
24 24
 
@@ -28,18 +28,18 @@
28 28
     <div class="layui-row layui-col-space15">
29 29
         <div class="layui-col-md12">
30 30
             <div class="layui-card">
31
-                <div class="layui-card-header">目标相关互动设置</div>
31
+                <div class="layui-card-header">获客相关互动设置</div>
32 32
                 <div class="layui-card-body">
33 33
 
34 34
 
35 35
                     <div class="layui-form-item">
36
-                        <label class="layui-form-label">目标互动:</label>
36
+                        <label class="layui-form-label">获客互动:</label>
37 37
                         <div class="layui-input-inline">
38 38
 
39 39
                             <input type="radio" name="f2" value="1" title="是" {if $extend.f2==1}checked{/if}>
40 40
                             <input type="radio" name="f2" value="0" title="否" {if $extend.f2==0}checked{/if}>
41 41
 
42
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标对象是否进行互动行为</div>
42
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客对象是否进行互动行为</div>
43 43
                         </div>
44 44
                     </div>
45 45
 
@@ -62,7 +62,7 @@
62 62
                             <input type="number" name="f4" id="" autocomplete="off" class="layui-input w30" value="{$extend.f4??'30'}">%
63 63
 
64 64
 
65
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标用户是否进行关注随机概率_百分比</div>
65
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客用户是否进行关注随机概率_百分比</div>
66 66
                         </div>
67 67
                     </div>
68 68
 
@@ -71,7 +71,7 @@
71 71
         </div>
72 72
         <div class="layui-col-md12">
73 73
             <div class="layui-card">
74
-                <div class="layui-card-header">内容评论区目标</div>
74
+                <div class="layui-card-header">内容评论区获客</div>
75 75
                 <div class="layui-card-body">
76 76
 
77 77
 
@@ -82,7 +82,7 @@
82 82
                             评论区滑动 <input type="number" name="f5" id="" autocomplete="off" class="layui-input w30" value="{$extend.f5??'20'}"> 次
83 83
 
84 84
 
85
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标笔记内容对象评论区最多滑动多少次</div>
85
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客笔记内容对象评论区最多滑动多少次</div>
86 86
                         </div>
87 87
                     </div>
88 88
 
@@ -92,17 +92,17 @@
92 92
 
93 93
                             评论区滑动 <input type="number" name="f6" id="" autocomplete="off" class="layui-input w30" value="{$extend.f6??'20'}"> 次
94 94
 
95
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标视频内容对象评论区最多滑动多少次</div>
95
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客视频内容对象评论区最多滑动多少次</div>
96 96
                         </div>
97 97
                     </div>
98 98
 
99 99
                     <div class="layui-form-item">
100
-                        <label for="intro" class="layui-form-label">目标总数:</label>
100
+                        <label for="intro" class="layui-form-label">获客总数:</label>
101 101
                         <div class="layui-input-block">
102 102
 
103 103
                             (针对用户)可评论总数 <input type="number" name="f7" id="" autocomplete="off" class="layui-input w30" value="{$extend.f7??'40'}"> 次
104 104
 
105
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标进入用户存在内容可评论总数</div>
105
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客进入用户存在内容可评论总数</div>
106 106
                         </div>
107 107
                     </div>
108 108
 
@@ -116,7 +116,7 @@
116 116
                             <input type="number" name="f8[]" id="" autocomplete="off" class="layui-input w30" value="{$extend.f8[1]??'7'}">
117 117
118 118
 
119
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标 每篇 笔记内容最多成功匹配多少个评论</div>
119
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客 每篇 笔记内容最多成功匹配多少个评论</div>
120 120
                         </div>
121 121
                     </div>
122 122
 
@@ -130,7 +130,7 @@
130 130
                             <input type="number" name="f9[]" id="" autocomplete="off" class="layui-input w30" value="{$extend.f9[1]??'7'}">
131 131
132 132
 
133
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标 每篇 视频内容最多成功匹配多少个评论</div>
133
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客 每篇 视频内容最多成功匹配多少个评论</div>
134 134
                         </div>
135 135
                     </div>
136 136
 

+ 14
- 14
app/shop/view/content/closure/edit/08.html Целия файл

@@ -11,7 +11,7 @@
11 11
                     <textarea name="f10" placeholder="" class="layui-textarea">{$extend.f10??''}</textarea>
12 12
 
13 13
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
14
-                        目标指定账号列表, 每一句用符号"|" 号隔开,长度500字以内;
14
+                        获客指定账号列表, 每一句用符号"|" 号隔开,长度500字以内;
15 15
                     </div>
16 16
                 </div>
17 17
             </div>
@@ -23,7 +23,7 @@
23 23
                     <textarea name="f11" placeholder="" class="layui-textarea">{$extend.f11??''}</textarea>
24 24
 
25 25
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
26
-                        目标<账号>关键词, 每一句用符号"|" 号隔开,长度500字以内;
26
+                        获客<账号>关键词, 每一句用符号"|" 号隔开,长度500字以内;
27 27
                     </div>
28 28
                 </div>
29 29
             </div>
@@ -36,7 +36,7 @@
36 36
                     <textarea name="f12" placeholder="" class="layui-textarea">{$extend.f12??''}</textarea>
37 37
 
38 38
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
39
-                        目标<账号>过滤词列表, 每一句用符号"|" 号隔开,长度500字以内;
39
+                        获客<账号>过滤词列表, 每一句用符号"|" 号隔开,长度500字以内;
40 40
                     </div>
41 41
                 </div>
42 42
             </div>
@@ -48,7 +48,7 @@
48 48
                     <textarea name="f13" placeholder="" class="layui-textarea">{$extend.f13??''}</textarea>
49 49
 
50 50
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
51
-                        目标内容名称关键词, 每一句用符号"|" 号隔开,长度500字以内;
51
+                        获客内容名称关键词, 每一句用符号"|" 号隔开,长度500字以内;
52 52
                     </div>
53 53
                 </div>
54 54
             </div>
@@ -61,7 +61,7 @@
61 61
                     <textarea name="f14" placeholder="" class="layui-textarea">{$extend.f14??''}</textarea>
62 62
 
63 63
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
64
-                        目标内容名称过滤词, 每一句用符号"|" 号隔开,长度500字以内;
64
+                        获客内容名称过滤词, 每一句用符号"|" 号隔开,长度500字以内;
65 65
                     </div>
66 66
                 </div>
67 67
             </div>
@@ -80,7 +80,7 @@
80 80
                     <textarea name="f15" placeholder="" class="layui-textarea">{$extend.f15??''}</textarea>
81 81
 
82 82
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
83
-                        目标笔记内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
83
+                        获客笔记内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
84 84
                     </div>
85 85
                 </div>
86 86
             </div>
@@ -92,7 +92,7 @@
92 92
                     <textarea name="f16" placeholder="" class="layui-textarea">{$extend.f16??''}</textarea>
93 93
 
94 94
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
95
-                        目标笔记内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
95
+                        获客笔记内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
96 96
                     </div>
97 97
                 </div>
98 98
             </div>
@@ -104,7 +104,7 @@
104 104
                     <textarea name="f17" placeholder="" class="layui-textarea">{$extend.f17??''}</textarea>
105 105
 
106 106
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
107
-                        目标视频内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
107
+                        获客视频内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
108 108
                     </div>
109 109
                 </div>
110 110
             </div>
@@ -116,7 +116,7 @@
116 116
                     <textarea name="f18" placeholder="" class="layui-textarea">{$extend.f18??''}</textarea>
117 117
 
118 118
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
119
-                        目标视频内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
119
+                        获客视频内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
120 120
                     </div>
121 121
                 </div>
122 122
             </div>
@@ -128,7 +128,7 @@
128 128
                     <textarea name="f19" placeholder="" class="layui-textarea">{$extend.f19??''}</textarea>
129 129
 
130 130
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
131
-                        目标 评论/私信 账号 过滤词, 每一句用符号"|" 号隔开,长度500字以内;
131
+                        获客 评论/私信 账号 过滤词, 每一句用符号"|" 号隔开,长度500字以内;
132 132
                     </div>
133 133
                 </div>
134 134
             </div>
@@ -160,7 +160,7 @@
160 160
                     <textarea name="f20" placeholder="" class="layui-textarea">{$extend.f20??''}</textarea>
161 161
 
162 162
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
163
-                        目标评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
163
+                        获客评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
164 164
                     </div>
165 165
                 </div>
166 166
             </div>
@@ -286,7 +286,7 @@
286 286
             <div class="layui-form-item">
287 287
                 <label class="layui-form-label"></label>
288 288
                 <div class="layui-input-block tips">
289
-                    关键词,比如"怎么评" , 目标评论随机语句 ,用"-"号连接多个语句
289
+                    关键词,比如"怎么评" , 获客评论随机语句 ,用"|"号连接多个语句
290 290
                 </div>
291 291
             </div>
292 292
 
@@ -328,7 +328,7 @@
328 328
                     <textarea name="f24" placeholder="" class="layui-textarea">{$extend.f24??''}</textarea>
329 329
 
330 330
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
331
-                        目标评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
331
+                        获客评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
332 332
                     </div>
333 333
                 </div>
334 334
             </div>
@@ -453,7 +453,7 @@
453 453
             <div class="layui-form-item">
454 454
                 <label class="layui-form-label"></label>
455 455
                 <div class="layui-input-block tips">
456
-                    关键词,比如"怎么评" , 目标评论随机语句 ,用"-"号连接多个语句
456
+                    关键词,比如"怎么评" , 获客评论随机语句 ,用"|"号连接多个语句
457 457
                 </div>
458 458
             </div>
459 459
 

+ 2
- 2
app/shop/view/content/closure/edit/09.html Целия файл

@@ -10,7 +10,7 @@
10 10
                     <input type="radio" name="k1" value="0"  lay-filter="k1" title="关闭" {if isset($extend.k1)&&$extend.k1==0}checked{/if} {if !isset($extend.k1)}checked{/if} >
11 11
                     <input type="radio" name="k1" value="1"  lay-filter="k1" title="开启" {if isset($extend.k1)&&$extend.k1==1}checked{/if}>
12 12
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
13
-                        目标状态下,是否进行 发送 评论钩子!
13
+                        获客状态下,是否进行 发送 评论钩子!
14 14
                     </div>
15 15
                 </div>
16 16
             </div>
@@ -20,7 +20,7 @@
20 20
                     <input type="radio" name="k2" value="0"  lay-filter="k2" title="否" {if isset($extend.k2)&&$extend.k2==0}checked{/if} {if !isset($extend.k2)}checked{/if} >
21 21
                     <input type="radio" name="k2" value="1"  lay-filter="k2" title="是" {if isset($extend.k2)&&$extend.k2==1}checked{/if}>
22 22
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
23
-                        目标状态下,已发送评论钩子,是否继续互动评论!
23
+                        获客状态下,已发送评论钩子,是否继续互动评论!
24 24
                     </div>
25 25
                 </div>
26 26
             </div>

+ 2
- 2
app/shop/view/content/closure/setting/05.html Целия файл

@@ -128,7 +128,7 @@
128 128
             </div>
129 129
         </div>
130 130
 
131
-        <div class="layui-col-md12">
131
+        <div class="layui-col-md12" style="display: none;">
132 132
             <div class="layui-card">
133 133
                 <div class="layui-card-header">是否完整观看以及观看时长(已丢弃)</div>
134 134
                 <div class="layui-card-body">
@@ -164,7 +164,7 @@
164 164
                     </div>
165 165
 
166 166
                     <div class="layui-form-item">
167
-                        <label for="intro" class="layui-form-label">目标视频:</label>
167
+                        <label for="intro" class="layui-form-label">获客视频:</label>
168 168
                         <div class="layui-input-block">
169 169
                             每浏览
170 170
                             <input type="number" name="d9[]" id="" autocomplete="off" class="layui-input w30" value="10">

+ 5
- 5
app/shop/view/content/closure/setting/06.html Целия файл

@@ -13,7 +13,7 @@
13 13
     <div class="layui-input-inline">
14 14
         <select name="e2" id="" lay-verType="" lay-verify="required">
15 15
             <option value="场景1_是否开启全局默认互动">场景1_是否开启全局默认互动</option>
16
-            <option value="场景2_是否开启目标与非目标独立互动" selected>场景2_是否开启目标与非目标独立互动</option>
16
+            <option value="场景2_是否开启截流与非截流独立互动" selected>场景2_是否开启获客与非获客独立互动</option>
17 17
         </select>
18 18
     </div>
19 19
 </div>
@@ -28,8 +28,8 @@
28 28
         <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
29 29
             <ul class="layui-tab-title">
30 30
                 <li class="layui-this">默认互动</li>
31
-                <li>目标互动</li>
32
-                <li>非目标互动</li>
31
+                <li>获客互动</li>
32
+                <li>非获客互动</li>
33 33
             </ul>
34 34
             <div class="layui-tab-content" style="">
35 35
                 <div class="layui-tab-item layui-show">
@@ -120,7 +120,7 @@
120 120
 
121 121
 
122 122
                     <div class="layui-form-item">
123
-                        <label for="intro" class="layui-form-label">目标:</label>
123
+                        <label for="intro" class="layui-form-label">获客:</label>
124 124
                         <div class="layui-input-block">
125 125
 
126 126
         <span class="ds">
@@ -203,7 +203,7 @@
203 203
 
204 204
 
205 205
                     <div class="layui-form-item">
206
-                        <label for="intro" class="layui-form-label">非目标:</label>
206
+                        <label for="intro" class="layui-form-label">非获客:</label>
207 207
                         <div class="layui-input-block">
208 208
 
209 209
         <span class="ds">

+ 16
- 16
app/shop/view/content/closure/setting/07.html Целия файл

@@ -1,24 +1,24 @@
1 1
 
2
-<div class="layui-form-item">
3
-    <label class="layui-form-label">限制目标:</label>
2
+<div class="layui-form-item" style="display: none;">
3
+    <label class="layui-form-label">限制获客:</label>
4 4
     <div class="layui-input-inline">
5 5
 
6 6
         <input type="radio" name="f1" value="1" title="是" disabled>
7 7
         <input type="radio" name="f1" value="0" title="否" checked>
8 8
 
9
-        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启强制目标模式</div>
9
+        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启强制获客模式</div>
10 10
     </div>
11 11
 </div>
12 12
 
13 13
 
14 14
 <div class="layui-form-item">
15
-    <label class="layui-form-label">目标开关:</label>
15
+    <label class="layui-form-label">获客开关:</label>
16 16
     <div class="layui-input-inline">
17 17
 
18 18
         <input type="radio" name="f27" value="1" title="是" checked>
19 19
         <input type="radio" name="f27" value="0" title="否">
20 20
 
21
-        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启目标</div>
21
+        <div class="layui-form-mid layui-word-aux" style="float: none;">是否开启获客</div>
22 22
     </div>
23 23
 </div>
24 24
 
@@ -28,18 +28,18 @@
28 28
     <div class="layui-row layui-col-space15">
29 29
         <div class="layui-col-md12">
30 30
             <div class="layui-card">
31
-                <div class="layui-card-header">目标相关互动设置</div>
31
+                <div class="layui-card-header">获客相关互动设置</div>
32 32
                 <div class="layui-card-body">
33 33
 
34 34
 
35 35
                     <div class="layui-form-item">
36
-                        <label class="layui-form-label">目标互动:</label>
36
+                        <label class="layui-form-label">获客互动:</label>
37 37
                         <div class="layui-input-inline">
38 38
 
39 39
                             <input type="radio" name="f2" value="1" title="是" checked>
40 40
                             <input type="radio" name="f2" value="0" title="否">
41 41
 
42
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标对象是否进行互动行为</div>
42
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客对象是否进行互动行为</div>
43 43
                         </div>
44 44
                     </div>
45 45
 
@@ -62,7 +62,7 @@
62 62
                             <input type="number" name="f4" id="" autocomplete="off" class="layui-input w30" value="30">%
63 63
 
64 64
 
65
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标用户是否进行关注随机概率_百分比</div>
65
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客用户是否进行关注随机概率_百分比</div>
66 66
                         </div>
67 67
                     </div>
68 68
 
@@ -71,7 +71,7 @@
71 71
         </div>
72 72
         <div class="layui-col-md12">
73 73
             <div class="layui-card">
74
-                <div class="layui-card-header">内容评论区目标</div>
74
+                <div class="layui-card-header">内容评论区获客</div>
75 75
                 <div class="layui-card-body">
76 76
 
77 77
 
@@ -82,7 +82,7 @@
82 82
                             评论区滑动 <input type="number" name="f5" id="" autocomplete="off" class="layui-input w30" value="20"> 次
83 83
 
84 84
 
85
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标笔记内容对象评论区最多滑动多少次</div>
85
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客笔记内容对象评论区最多滑动多少次</div>
86 86
                         </div>
87 87
                     </div>
88 88
 
@@ -92,17 +92,17 @@
92 92
 
93 93
                             评论区滑动 <input type="number" name="f6" id="" autocomplete="off" class="layui-input w30" value="20"> 次
94 94
 
95
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标视频内容对象评论区最多滑动多少次</div>
95
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客视频内容对象评论区最多滑动多少次</div>
96 96
                         </div>
97 97
                     </div>
98 98
 
99 99
                     <div class="layui-form-item">
100
-                        <label for="intro" class="layui-form-label">目标总数:</label>
100
+                        <label for="intro" class="layui-form-label">获客总数:</label>
101 101
                         <div class="layui-input-block">
102 102
 
103 103
                             (针对用户)可评论总数 <input type="number" name="f7" id="" autocomplete="off" class="layui-input w30" value="40"> 次
104 104
 
105
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标进入用户存在内容可评论总数</div>
105
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客进入用户存在内容可评论总数</div>
106 106
                         </div>
107 107
                     </div>
108 108
 
@@ -116,7 +116,7 @@
116 116
                             <input type="number" name="f8[]" id="" autocomplete="off" class="layui-input w30" value="7">
117 117
118 118
 
119
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标 每篇 笔记内容最多成功匹配多少个评论</div>
119
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客 每篇 笔记内容最多成功匹配多少个评论</div>
120 120
                         </div>
121 121
                     </div>
122 122
 
@@ -130,7 +130,7 @@
130 130
                             <input type="number" name="f9[]" id="" autocomplete="off" class="layui-input w30" value="7">
131 131
132 132
 
133
-                            <div class="layui-form-mid layui-word-aux" style="float: none;">目标 每篇 视频内容最多成功匹配多少个评论</div>
133
+                            <div class="layui-form-mid layui-word-aux" style="float: none;">获客 每篇 视频内容最多成功匹配多少个评论</div>
134 134
                         </div>
135 135
                     </div>
136 136
 

+ 14
- 14
app/shop/view/content/closure/setting/08.html Целия файл

@@ -11,7 +11,7 @@
11 11
                     <textarea name="f10" placeholder="" class="layui-textarea">momo|思思咨询|小鹏职称指导</textarea>
12 12
 
13 13
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
14
-                        目标指定账号列表, 每一句用符号"|" 号隔开,长度500字以内;
14
+                        获客指定账号列表, 每一句用符号"|" 号隔开,长度500字以内;
15 15
                     </div>
16 16
                 </div>
17 17
             </div>
@@ -23,7 +23,7 @@
23 23
                     <textarea name="f11" placeholder="" class="layui-textarea">职称|评审</textarea>
24 24
 
25 25
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
26
-                        目标<账号>关键词, 每一句用符号"|" 号隔开,长度500字以内;
26
+                        获客<账号>关键词, 每一句用符号"|" 号隔开,长度500字以内;
27 27
                     </div>
28 28
                 </div>
29 29
             </div>
@@ -36,7 +36,7 @@
36 36
                     <textarea name="f12" placeholder="" class="layui-textarea">课题|教师</textarea>
37 37
 
38 38
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
39
-                        目标<账号>过滤词列表, 每一句用符号"|" 号隔开,长度500字以内;
39
+                        获客<账号>过滤词列表, 每一句用符号"|" 号隔开,长度500字以内;
40 40
                     </div>
41 41
                 </div>
42 42
             </div>
@@ -48,7 +48,7 @@
48 48
                     <textarea name="f13" placeholder="" class="layui-textarea">职称|评审|申报|中级|高级|副高|正高|工程师|认定</textarea>
49 49
 
50 50
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
51
-                        目标内容名称关键词, 每一句用符号"|" 号隔开,长度500字以内;
51
+                        获客内容名称关键词, 每一句用符号"|" 号隔开,长度500字以内;
52 52
                     </div>
53 53
                 </div>
54 54
             </div>
@@ -61,7 +61,7 @@
61 61
                     <textarea name="f14" placeholder="" class="layui-textarea">教师|医生|医学|老师|经济|银行|教育|农业|艺术|新闻|农技|学校|高校|教授|医院|人力资源</textarea>
62 62
 
63 63
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
64
-                        目标内容名称过滤词, 每一句用符号"|" 号隔开,长度500字以内;
64
+                        获客内容名称过滤词, 每一句用符号"|" 号隔开,长度500字以内;
65 65
                     </div>
66 66
                 </div>
67 67
             </div>
@@ -80,7 +80,7 @@
80 80
                     <textarea name="f15" placeholder="" class="layui-textarea">昨天|1天前|分钟|刚刚|2天前|小时前|3天前|4天前|5天前</textarea>
81 81
 
82 82
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
83
-                        目标笔记内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
83
+                        获客笔记内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
84 84
                     </div>
85 85
                 </div>
86 86
             </div>
@@ -92,7 +92,7 @@
92 92
                     <textarea name="f16" placeholder="" class="layui-textarea">昨天,1天前,分钟,刚刚,2天前,小时前,3天前,4天前,5天前</textarea>
93 93
 
94 94
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
95
-                        目标笔记内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
95
+                        获客笔记内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
96 96
                     </div>
97 97
                 </div>
98 98
             </div>
@@ -104,7 +104,7 @@
104 104
                     <textarea name="f17" placeholder="" class="layui-textarea">昨天|1天前|分钟|刚刚|2天前|小时前|3天前|4天前|5天前</textarea>
105 105
 
106 106
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
107
-                        目标视频内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
107
+                        获客视频内容 评论/私信 满足时间条件的关键词 正则, 每一句用符号"|" 号隔开,长度500字以内;
108 108
                     </div>
109 109
                 </div>
110 110
             </div>
@@ -116,7 +116,7 @@
116 116
                     <textarea name="f18" placeholder="" class="layui-textarea">昨天,1天前,分钟,刚刚,2天前,小时前,3天前,4天前,5天前</textarea>
117 117
 
118 118
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
119
-                        目标视频内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
119
+                        获客视频内容 评论/私信 满足时间条件的关键词, 每一句用符号 "," 号隔开,长度500字以内;
120 120
                     </div>
121 121
                 </div>
122 122
             </div>
@@ -128,7 +128,7 @@
128 128
                     <textarea name="f19" placeholder="" class="layui-textarea">职称|评审</textarea>
129 129
 
130 130
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
131
-                        目标 评论/私信 账号 过滤词, 每一句用符号"|" 号隔开,长度500字以内;
131
+                        获客 评论/私信 账号 过滤词, 每一句用符号"|" 号隔开,长度500字以内;
132 132
                     </div>
133 133
                 </div>
134 134
             </div>
@@ -156,7 +156,7 @@
156 156
                     <textarea name="f20" placeholder="" class="layui-textarea">怎么|请问|如何|咨询|滴滴|广东|问一下|了解下|呢|吗|多少钱|高工|中级|副高|正高|高级|真的假的|真的吗|文件|发一下|了解一下|直接认定|满五年|私一个|真的么|咋整的|咋搞|工程类|可以评吗|在哪申请|申请条件|本科|毕业满|工程|行不行|想了解|可以申报|计算机|环境类|求资料|研究生|直接评|咋办理的|什么专业|工科专业|发来看看</textarea>
157 157
 
158 158
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
159
-                        目标评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
159
+                        获客评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
160 160
                     </div>
161 161
                 </div>
162 162
             </div>
@@ -241,7 +241,7 @@
241 241
             <div class="layui-form-item">
242 242
                 <label class="layui-form-label"></label>
243 243
                 <div class="layui-input-block tips">
244
-                    关键词,比如"怎么评" , 目标评论随机语句 ,用"-"号连接多个语句
244
+                    关键词,比如"怎么评" , 获客评论随机语句 ,用"|"号连接多个语句
245 245
                 </div>
246 246
             </div>
247 247
 
@@ -285,7 +285,7 @@
285 285
                     <textarea name="f24" placeholder="" class="layui-textarea">怎么|请问|如何|咨询|滴滴|广东|问一下|了解下|呢|吗|多少钱|高工|中级|副高|正高|高级|真的假的|真的吗|文件|发一下|了解一下|直接认定|满五年|私一个|真的么|咋整的|咋搞|工程类|可以评吗|在哪申请|申请条件|本科|毕业满|工程|行不行|想了解|可以申报|计算机|环境类|求资料|研究生|直接评|咋办理的|什么专业|工科专业|发来看看</textarea>
286 286
 
287 287
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
288
-                        目标评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
288
+                        获客评论 内容 关键词, 每一句用符号"|" 号隔开,长度500字以内;
289 289
                     </div>
290 290
                 </div>
291 291
             </div>
@@ -370,7 +370,7 @@
370 370
             <div class="layui-form-item">
371 371
                 <label class="layui-form-label"></label>
372 372
                 <div class="layui-input-block tips">
373
-                    关键词,比如"怎么评" , 目标评论随机语句 ,用"-"号连接多个语句
373
+                    关键词,比如"怎么评" , 获客评论随机语句 ,用"|"号连接多个语句
374 374
                 </div>
375 375
             </div>
376 376
 

+ 2
- 2
app/shop/view/content/closure/setting/09.html Целия файл

@@ -9,7 +9,7 @@
9 9
                     <input type="radio" name="k1" value="0"  lay-filter="k1" title="关闭" checked >
10 10
                     <input type="radio" name="k1" value="1"  lay-filter="k1" title="开启">
11 11
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
12
-                        目标状态下,是否进行 发送 评论钩子!
12
+                        获客状态下,是否进行 发送 评论钩子!
13 13
                     </div>
14 14
                 </div>
15 15
             </div>
@@ -19,7 +19,7 @@
19 19
                     <input type="radio" name="k2" value="0"  lay-filter="k2" title="否" checked >
20 20
                     <input type="radio" name="k2" value="1"  lay-filter="k2" title="是">
21 21
                     <div class="layui-form-mid layui-word-aux" style="float: none;">
22
-                        目标状态下,已发送评论钩子,是否继续互动评论!
22
+                        获客状态下,已发送评论钩子,是否继续互动评论!
23 23
                     </div>
24 24
                 </div>
25 25
             </div>

+ 7
- 3
app/shop/view/content/equi_category/lists.html Целия файл

@@ -24,7 +24,7 @@
24 24
 
25 25
               <b>套餐包含:</b> 电脑{$server_info.pc_num}台,每台电脑可添加手机{$server_info.mobile_num}台,可同时运行手机{$server_info.run_num}台.
26 26
               <br/>
27
-              总电脑数量: {$edui_info[0][0]}台 &nbsp;&nbsp;&nbsp;&nbsp;<b>服务到期时间:</b>  {$end_time}<br/>
27
+              总电脑数量: {$edui_info[0][0]??"0"}台 &nbsp;&nbsp;&nbsp;&nbsp;<b>服务到期时间:</b>  {$end_time}<br/>
28 28
               {volist name="edui_info" id="vo"}
29 29
               第{$vo[1]}台电脑,总共{$vo[2]}台手机设备,已启用{$vo[3]}台手机设备,未启用{$vo[4]}台手机设备,可同时运行手机{$server_info.run_num}台. <br/>
30 30
               {/volist}
@@ -155,8 +155,12 @@
155 155
           success:function (res) {
156 156
             // 转json对象
157 157
             jsonObj = JSON.parse(res.data);
158
-            if(res.code==0) callback(jsonObj);
159
-            else callback(res.msg);
158
+            if(res.code==0){
159
+              callback(jsonObj);
160
+              $('#expand-all').trigger("click");
161
+            }else{
162
+              callback(res.msg);
163
+            }
160 164
           }
161 165
         })
162 166
       }

+ 22
- 13
app/shop/view/index/stat.html Целия файл

@@ -4,6 +4,9 @@
4 4
 <link rel="stylesheet" href="/static/plug/layui-admin/dist/layuiadmin/style/like.css?v={$front_version}" media="all">
5 5
 <script src="__PUBLIC__/static/lib/layui/layui.js"></script>
6 6
 <script src="__PUBLIC__/static/admin/js/app.js"></script>
7
+
8
+
9
+
7 10
 <style>
8 11
     
9 12
     .header-font{
@@ -103,7 +106,12 @@
103 106
         height: auto;
104 107
     }
105 108
 
106
-
109
+    .lc_height {
110
+        height: calc(100vh - 100px);
111
+    }
112
+    .lc_height  .layui-fluid{
113
+        padding:0px !important;
114
+    }
107 115
 </style>
108 116
 <div class="wrapper" style="margin-bottom: 100px">
109 117
     <div class="layui-card" >
@@ -113,7 +121,8 @@
113 121
         </div>
114 122
     </div>
115 123
     <div class="layui-row layui-col-space15">
116
-        <div class="layui-col-sm3">
124
+        <iframe src="http://localhost" style="width: 100%; min-height: 600px;border: none;" class="lc_height"></iframe>
125
+        <!-- <div class="layui-col-sm3">
117 126
             <div class="layui-card">
118 127
                 <div class="layui-card-header">
119 128
                     成交订单(笔)
@@ -196,10 +205,10 @@
196 205
                     <div class="data-all">累计商品浏览人数<div class="text-style">{$res.data.visit_user_num.all_num}</div></div>
197 206
                 </div>
198 207
             </div>
199
-        </div>
208
+        </div> -->
200 209
 
201 210
         <!--快捷功能-->
202
-        <div class="layui-col-sm12" style="display:none;">
211
+        <!-- <div class="layui-col-sm12" style="display:none;">
203 212
             <div class="layui-card">
204 213
                 <div class="layui-card-header">快捷功能</div>
205 214
                 <div class="layui-card-body">
@@ -257,10 +266,10 @@
257 266
                     </div>
258 267
                 </div>
259 268
             </div>
260
-        </div>
269
+        </div> -->
261 270
 
262 271
         <!-- 销冠商品 -->
263
-        <div class="layui-col-sm6 ">
272
+        <!-- <div class="layui-col-sm6 ">
264 273
             <div class="layui-card">
265 274
                 <div class="layui-card-header">
266 275
                     销冠商品(前5名)
@@ -281,10 +290,10 @@
281 290
                     </div>
282 291
                 </div>
283 292
             </div>
284
-        </div>
293
+        </div> -->
285 294
 
286 295
         <!-- 人气商品 -->
287
-        <div class="layui-col-sm6 ">
296
+        <!-- <div class="layui-col-sm6 ">
288 297
             <div class="layui-card">
289 298
                 <div class="layui-card-header">
290 299
                     人气商品(前5名)
@@ -305,10 +314,10 @@
305 314
                     </div>
306 315
                 </div>
307 316
             </div>
308
-        </div>
317
+        </div> -->
309 318
 
310 319
         <!--表格-->
311
-        <div class="layui-col-sm12">
320
+        <!-- <div class="layui-col-sm12">
312 321
             <div class="layui-card">
313 322
                 <div class="layui-card-body">
314 323
                     <div class="layui-row">
@@ -337,7 +346,7 @@
337 346
                     </div>
338 347
                 </div>
339 348
             </div>
340
-        </div>
349
+        </div> -->
341 350
 
342 351
     </div>
343 352
 </div>
@@ -345,7 +354,7 @@
345 354
     {$company_name}&nbsp;&nbsp;|&nbsp;&nbsp;版本号:{$version}
346 355
     <br><br>
347 356
 </footer>
348
-<script>
357
+<!-- <script>
349 358
     layui.config({
350 359
         version:"{$front_version}",
351 360
         base: '/static/lib/'
@@ -643,4 +652,4 @@
643 652
             ]);
644 653
         }
645 654
     });
646
-</script>
655
+</script> -->

+ 3
- 2
public/static/admin/js/function.js Целия файл

@@ -132,7 +132,7 @@ var like = {
132 132
         var that  = options.that;
133 133
         var limit = options.limit || 1;
134 134
         var field = options.field || "image";
135
-        var content = options.content || '/admin/file/lists?type=10&&shop_id=0';
135
+        var content = options.content || '/cY0aK2sG/file/lists?type=10&&shop_id=0';
136 136
         var isSpecImage = options.isSpecImage || false;
137 137
 
138 138
         parent.layer.open({
@@ -192,10 +192,11 @@ var like = {
192 192
      * @param options
193 193
      */
194 194
     videoUpload: function (options) {
195
+
195 196
         var that  = options.that;
196 197
         var limit = options.limit || 1;
197 198
         var field = options.field || "video";
198
-        var content = options.content || '/admin/file/lists?type=20';
199
+        var content = options.content || '/cY0aK2sG/file/lists?type=20';
199 200
 
200 201
         parent.layer.open({
201 202
             type: 2

Loading…
Отказ
Запис