mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +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'),
|
'app_url' => config('v2board.app_url'),
|
||||||
'subscribe_url' => config('v2board.subscribe_url'),
|
'subscribe_url' => config('v2board.subscribe_url'),
|
||||||
'plan_update_fee' => config('v2board.plan_update_fee', 0.5),
|
'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' => [
|
'pay' => [
|
||||||
// alipay
|
// alipay
|
||||||
|
@ -58,6 +58,9 @@ class ConfigSave extends FormRequest
|
|||||||
'subscribe_url' => 'url',
|
'subscribe_url' => 'url',
|
||||||
'plan_update_fee' => 'numeric',
|
'plan_update_fee' => 'numeric',
|
||||||
'plan_is_update' => 'in:0,1',
|
'plan_is_update' => 'in:0,1',
|
||||||
|
'try_out_register' => 'in:0,1',
|
||||||
|
'try_out_plan_id' => 'integer',
|
||||||
|
'try_out_day' => 'integer',
|
||||||
// server
|
// server
|
||||||
'server_token' => 'min:16',
|
'server_token' => 'min:16',
|
||||||
// alipay
|
// alipay
|
||||||
|
Loading…
Reference in New Issue
Block a user