mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: add no reset method
This commit is contained in:
parent
6830e6af38
commit
91c7dfc0ed
@ -54,6 +54,9 @@ class ResetTraffic extends Command
|
|||||||
case 1:
|
case 1:
|
||||||
$this->resetByExpireDay();
|
$this->resetByExpireDay();
|
||||||
break;
|
break;
|
||||||
|
// no action
|
||||||
|
case 2:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
DB::commit();
|
DB::commit();
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ class ConfigSave extends FormRequest
|
|||||||
'tos_url' => 'nullable|url',
|
'tos_url' => 'nullable|url',
|
||||||
// subscribe
|
// subscribe
|
||||||
'plan_change_enable' => 'in:0,1',
|
'plan_change_enable' => 'in:0,1',
|
||||||
'reset_traffic_method' => 'in:0,1',
|
'reset_traffic_method' => 'in:0,1,2',
|
||||||
'surplus_enable' => 'in:0,1',
|
'surplus_enable' => 'in:0,1',
|
||||||
'new_order_event_id' => 'in:0,1',
|
'new_order_event_id' => 'in:0,1',
|
||||||
'renew_order_event_id' => 'in:0,1',
|
'renew_order_event_id' => 'in:0,1',
|
||||||
|
2
public/assets/admin/umi.js
vendored
2
public/assets/admin/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user