|
@@ -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
|