Kirin 3 роки тому
батько
коміт
7d24741024
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)
     public function empty_spread($uid = 0)
     {
     {
         if (!$uid) return JsonService::fail('缺少参数');
         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)
         if ($res)
             return JsonService::successful('清除成功');
             return JsonService::successful('清除成功');
         else
         else