From 54dd4e3a403b68b5761370a5962e0a825177c903 Mon Sep 17 00:00:00 2001 From: cool Date: Thu, 28 Sep 2023 14:09:37 +0800 Subject: [PATCH] release 7.x --- src/modules/base/config.ts | 2 +- src/modules/user/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/base/config.ts b/src/modules/base/config.ts index 82cb3c9..c512e64 100644 --- a/src/modules/base/config.ts +++ b/src/modules/base/config.ts @@ -20,7 +20,7 @@ export default () => { // 单点登录 sso: false, // 注意: 最好重新修改,防止破解 - secret: 'a7f442005dc411eeb330bb388e9deb5b', + secret: 'cool-admin-xxxxxx', // token token: { // 2小时过期,需要用刷新token diff --git a/src/modules/user/config.ts b/src/modules/user/config.ts index c08b0eb..6e0946b 100644 --- a/src/modules/user/config.ts +++ b/src/modules/user/config.ts @@ -41,7 +41,7 @@ export default () => { // 刷新token 过期时间,单位秒 refreshExpire: 60 * 60 * 24 * 30, // jwt 秘钥 - secret: 'a7f469105dc411eeb330bb388e9deb5b', + secret: 'cool-app-xxxxxx', }, } as ModuleConfig; };