chenhao 4 years ago
parent
commit
a53988e9c2

+ 1 - 0
application/admin/controller/Customer.php

@@ -972,6 +972,7 @@ class Customer extends Base
             $params['product'] = implode(',', $params['product']);
             $params['spread_id'] = session('uid');
             $params['follow_time'] = time();
+            $params['website'] = implode('##',explode(' ',$params['website']));
             $customer = new CustomerModel();
             $add = $customer->add_customer($params);
             return $add;

+ 1 - 1
application/admin/view/customer/add_customer.html

@@ -67,7 +67,7 @@
                     <label class="layui-form-label">网站     </label>
                     <div class="layui-input-block">
                         <input type="text" name="website" lay-verify="required"  class="layui-input ">
-                        <p style="color: red;font-size: 8px">多个网站请用##号字符分开</p>
+                        <p style="color: red;font-size: 8px">多个网站请用空格号字符分开</p>
                     </div>
                 </div>
                 <div class="layui-form-item layui-col-md-offset1 layui-col-md8">