From 2fc8412020899e2f37270fb368d455e2800cc9ea Mon Sep 17 00:00:00 2001 From: hardphp Date: Fri, 22 Mar 2019 14:02:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E6=89=A9=E5=B1=95=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/extra/system.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/extra/system.php b/config/extra/system.php index b741310..4dd39f4 100644 --- a/config/extra/system.php +++ b/config/extra/system.php @@ -11,19 +11,24 @@ return [ - 'pass_salt' => '58&%97', + 'pass_salt' => '58&%97@*^54*89', // jwt签名密钥 - 'jwt_secret_key' => '58&%97@*', + 'jwt_secret_key' => '58&%97@*^54*89@***###', // jwt算法 ,可配置的值取决于使用的jwt包支持哪些算法 'jwt_algorithm' => 'HS256', // 是否开启app接口签名认证,为方便测试可以关闭,正式环境必须开启 'app_sign_auth_on' => true, + // app接口加密安全key + 'app_sign_key' => '#l_vle_ll_e%+$^@0608)[@***###', //app访问token有效期 'app_access_token_time' => 60 * 60 * 24 * 7, //用户登录有效期 'user_login_time' => 60 * 60 * 24 * 7, + //动态缩略图存放目录 + 'thumb_dir' => './runtime/thumb', + ];