mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
e3431c6ae7
commit
588577d513
@ -31,7 +31,10 @@ class ConfigController extends Controller
|
||||
'app_url' => config('v2board.app_url'),
|
||||
'subscribe_url' => config('v2board.subscribe_url'),
|
||||
'plan_update_fee' => config('v2board.plan_update_fee', 0.5),
|
||||
'plan_is_update' => (int)config('v2board.plan_is_update', 1)
|
||||
'plan_is_update' => (int)config('v2board.plan_is_update', 1),
|
||||
'try_out_register' => (int)config('v2board.try_out_register', 0),
|
||||
'try_out_plan_id' => (int)config('v2board.try_out_plan_id'),
|
||||
'try_out_day' => (int)config('v2board.try_out_day', 1)
|
||||
],
|
||||
'pay' => [
|
||||
// alipay
|
||||
|
@ -58,6 +58,9 @@ class ConfigSave extends FormRequest
|
||||
'subscribe_url' => 'url',
|
||||
'plan_update_fee' => 'numeric',
|
||||
'plan_is_update' => 'in:0,1',
|
||||
'try_out_register' => 'in:0,1',
|
||||
'try_out_plan_id' => 'integer',
|
||||
'try_out_day' => 'integer',
|
||||
// server
|
||||
'server_token' => 'min:16',
|
||||
// alipay
|
||||
|
Loading…
Reference in New Issue
Block a user