update: add no reset method

This commit is contained in:
tokumeikoi 2021-09-06 02:31:45 +09:00
parent 6830e6af38
commit 91c7dfc0ed
3 changed files with 5 additions and 2 deletions

View File

@ -54,6 +54,9 @@ class ResetTraffic extends Command
case 1:
$this->resetByExpireDay();
break;
// no action
case 2:
break;
}
DB::commit();
}

View File

@ -44,7 +44,7 @@ class ConfigSave extends FormRequest
'tos_url' => 'nullable|url',
// subscribe
'plan_change_enable' => 'in:0,1',
'reset_traffic_method' => 'in:0,1',
'reset_traffic_method' => 'in:0,1,2',
'surplus_enable' => 'in:0,1',
'new_order_event_id' => 'in:0,1',
'renew_order_event_id' => 'in:0,1',

File diff suppressed because one or more lines are too long