mirror of
https://github.com/v2board/v2board.git
synced 2025-06-14 13:47:49 +08:00
update: config
This commit is contained in:
@ -23,6 +23,7 @@ class ConfigSave extends FormRequest
|
||||
'commission_first_time_enable' => 'in:0,1',
|
||||
'commission_auto_check_enable' => 'in:0,1',
|
||||
'commission_withdraw_limit' => 'nullable|numeric',
|
||||
'commission_withdraw_method' => 'nullable|array',
|
||||
// site
|
||||
'stop_register' => 'in:0,1',
|
||||
'email_verify' => 'in:0,1',
|
||||
@ -34,7 +35,7 @@ class ConfigSave extends FormRequest
|
||||
'try_out_plan_id' => 'integer',
|
||||
'try_out_hour' => 'numeric',
|
||||
'email_whitelist_enable' => 'in:0,1',
|
||||
'email_whitelist_suffix' => '',
|
||||
'email_whitelist_suffix' => 'nullable|array',
|
||||
'email_gmail_limit_enable' => 'in:0,1',
|
||||
'recaptcha_enable' => 'in:0,1',
|
||||
'recaptcha_key' => '',
|
||||
|
@ -14,7 +14,7 @@ class TicketWithdraw extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'withdraw_method' => 'required|in:alipay,paypal,usdt,btc',
|
||||
'withdraw_method' => 'required',
|
||||
'withdraw_account' => 'required'
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user