update: config

This commit is contained in:
tokumeikoi
2021-01-08 01:33:11 +09:00
parent 633b9ad912
commit a55647ab7a
7 changed files with 35 additions and 18 deletions

View File

@ -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' => '',

View File

@ -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'
];
}