mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
4370db4037
commit
d92548dbe6
@ -28,7 +28,8 @@ class ConfigController extends Controller
|
||||
'stop_register' => (int)config('v2board.stop_register', 0),
|
||||
'email_verify' => (int)config('v2board.email_verify', 0),
|
||||
'app_name' => config('v2board.app_name', 'V2Board'),
|
||||
'app_url' => config('v2board.app_url')
|
||||
'app_url' => config('v2board.app_url'),
|
||||
'subscribe_url' => config('v2board.subscribe_url')
|
||||
],
|
||||
'pay' => [
|
||||
// alipay
|
||||
|
@ -16,6 +16,8 @@ class ConfigSave extends FormRequest
|
||||
'email_verify',
|
||||
'app_name',
|
||||
'app_url',
|
||||
'subscribe_url',
|
||||
// server
|
||||
'server_token',
|
||||
// alipay
|
||||
'alipay_enable',
|
||||
@ -47,8 +49,10 @@ class ConfigSave extends FormRequest
|
||||
'invite_never_expire' => 'in:0,1',
|
||||
'stop_register' => 'in:0,1',
|
||||
'email_verify' => 'in:0,1',
|
||||
'server_token' => 'min:16',
|
||||
'app_url' => 'url',
|
||||
'subscribe_url' => 'url',
|
||||
// server
|
||||
'server_token' => 'min:16',
|
||||
// alipay
|
||||
'alipay_enable' => 'in:0,1',
|
||||
'alipay_appid' => 'integer|min:16',
|
||||
|
Loading…
Reference in New Issue
Block a user