mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 05:15:27 +08:00
add renew reset traffic switch
This commit is contained in:
@ -39,7 +39,7 @@ class ResetTraffic extends Command
|
||||
public function handle()
|
||||
{
|
||||
$user = User::where('expired_at', '!=', NULL);
|
||||
$resetTrafficMethod = config('v2board.reset_traffic_method', 0);
|
||||
$resetTrafficMethod = (int)config('v2board.reset_traffic_method', 0);
|
||||
switch ($resetTrafficMethod) {
|
||||
// 1 a month
|
||||
case 0:
|
||||
|
Reference in New Issue
Block a user