mirror of
https://github.com/v2board/v2board.git
synced 2025-02-11 16:00:27 +08:00
add onetime plan
This commit is contained in:
parent
10e4de39de
commit
dea26121fc
@ -42,7 +42,7 @@ class ResetTraffic extends Command
|
|||||||
{
|
{
|
||||||
// get plans of cycle type
|
// get plans of cycle type
|
||||||
$plans = Plan::where('type', 0)->get();
|
$plans = Plan::where('type', 0)->get();
|
||||||
$users = User::whereIn('plan_id', $plans)->get();
|
$users = User::whereIn('plan_id', $plans);
|
||||||
$users->update([
|
$users->update([
|
||||||
'u' => 0,
|
'u' => 0,
|
||||||
'd' => 0
|
'd' => 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user