瀏覽代碼

Merge branch 'master' of http://git.liuniu946.com/Kirin/mccs

zxhxx 3 年之前
父節點
當前提交
19d91b633d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/agent/AgentManage.php

+ 1 - 1
app/admin/controller/agent/AgentManage.php

@@ -319,7 +319,7 @@ class AgentManage extends AuthController
     public function empty_spread($uid = 0)
     {
         if (!$uid) return JsonService::fail('缺少参数');
-        $res = User::where('uid', $uid)->update(['spread_uid' => 0]);
+        $res = User::where('uid', $uid)->update(['spread_uid' => 0,'spread_time'=>0,'lock_spread'=>0]);
         if ($res)
             return JsonService::successful('清除成功');
         else