add email blacklist config

This commit is contained in:
Tokumeikoi 2020-02-09 01:29:26 +08:00
parent 5bc4bff8f9
commit 98e23be297
2 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,8 @@ class ConfigController extends Controller
'plan_change_enable' => (int)config('v2board.plan_change_enable', 1),
'plan_transfer_hour' => config('v2board.plan_transfer_hour', 12),
'try_out_plan_id' => (int)config('v2board.try_out_plan_id', 0),
'try_out_hour' => (int)config('v2board.try_out_hour', 1)
'try_out_hour' => (int)config('v2board.try_out_hour', 1),
'email_suffix_blacklist' => config('v2board.email_suffix_blacklist')
],
'pay' => [
// alipay

View File

@ -22,6 +22,7 @@ class ConfigSave extends FormRequest
'try_out_enable' => 'in:0,1',
'try_out_plan_id' => 'integer',
'try_out_hour' => 'numeric',
'email_suffix_blacklist' => '',
// server
'server_token' => 'nullable|min:16',
'server_license' => 'nullable',