This commit is contained in:
root 2020-01-20 15:24:48 +08:00
parent 75e91b281c
commit 10510164e4
2 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,8 @@ class ConfigController extends Controller
'paytaro_app_secret' => config('v2board.paytaro_app_secret')
],
'server' => [
'server_token' => config('v2board.server_token')
'server_token' => config('v2board.server_token'),
'server_license' => config('v2board.server_license')
],
'tutorial' => [
'apple_id' => config('v2board.apple_id')

View File

@ -23,6 +23,7 @@ class ConfigSave extends FormRequest
'try_out_hour' => 'numeric',
// server
'server_token' => 'nullable|min:16',
'server_license' => 'nullable',
// alipay
'alipay_enable' => 'in:0,1',
'alipay_appid' => 'nullable|integer|min:16',