From dcbc095d1a148b95ab15261537876081f819512a Mon Sep 17 00:00:00 2001 From: root Date: Sun, 15 Dec 2019 15:20:45 +0800 Subject: [PATCH] update --- app/Console/Commands/ResetTraffic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/ResetTraffic.php b/app/Console/Commands/ResetTraffic.php index 011e3bab..a717ed66 100644 --- a/app/Console/Commands/ResetTraffic.php +++ b/app/Console/Commands/ResetTraffic.php @@ -38,7 +38,7 @@ class ResetTraffic extends Command */ public function handle() { - User::update([ + User::all()->update([ 'u' => 0, 'd' => 0 ]);