mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 08:39:09 +08:00
update
This commit is contained in:
parent
28d49b6260
commit
deed547188
@ -38,6 +38,9 @@ class ResetTraffic extends Command
|
|||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
DB::update('update v2_user set u = 0, d = 0');
|
DB::table('v2_user')->update([
|
||||||
|
'u' => 0,
|
||||||
|
'd' => 0
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user