From 10510164e429004db161c80e33eff90d61cc27b4 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 20 Jan 2020 15:24:48 +0800 Subject: [PATCH] update --- app/Http/Controllers/Admin/ConfigController.php | 3 ++- app/Http/Requests/Admin/ConfigSave.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/ConfigController.php b/app/Http/Controllers/Admin/ConfigController.php index 5c6d0cb3..cd1dec4d 100755 --- a/app/Http/Controllers/Admin/ConfigController.php +++ b/app/Http/Controllers/Admin/ConfigController.php @@ -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') diff --git a/app/Http/Requests/Admin/ConfigSave.php b/app/Http/Requests/Admin/ConfigSave.php index 5d7aa8b3..bcabaaf8 100755 --- a/app/Http/Requests/Admin/ConfigSave.php +++ b/app/Http/Requests/Admin/ConfigSave.php @@ -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',