From ad1bfdad6397bdc4cf57b13316606bec3df0d096 Mon Sep 17 00:00:00 2001 From: cool Date: Wed, 22 Nov 2023 10:00:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Eswagger=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lock/base.sql.lock | 1 - lock/cloud.sql.lock | 1 - lock/dict.sql.lock | 1 - lock/recycle.sql.lock | 1 - lock/task.sql.lock | 1 - src/modules/base/config.ts | 2 +- src/modules/user/config.ts | 2 +- 7 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 lock/base.sql.lock delete mode 100644 lock/cloud.sql.lock delete mode 100644 lock/dict.sql.lock delete mode 100644 lock/recycle.sql.lock delete mode 100644 lock/task.sql.lock diff --git a/lock/base.sql.lock b/lock/base.sql.lock deleted file mode 100644 index b2cef33..0000000 --- a/lock/base.sql.lock +++ /dev/null @@ -1 +0,0 @@ -time consuming:1s \ No newline at end of file diff --git a/lock/cloud.sql.lock b/lock/cloud.sql.lock deleted file mode 100644 index a77002f..0000000 --- a/lock/cloud.sql.lock +++ /dev/null @@ -1 +0,0 @@ -time consuming:0s \ No newline at end of file diff --git a/lock/dict.sql.lock b/lock/dict.sql.lock deleted file mode 100644 index a77002f..0000000 --- a/lock/dict.sql.lock +++ /dev/null @@ -1 +0,0 @@ -time consuming:0s \ No newline at end of file diff --git a/lock/recycle.sql.lock b/lock/recycle.sql.lock deleted file mode 100644 index a77002f..0000000 --- a/lock/recycle.sql.lock +++ /dev/null @@ -1 +0,0 @@ -time consuming:0s \ No newline at end of file diff --git a/lock/task.sql.lock b/lock/task.sql.lock deleted file mode 100644 index a77002f..0000000 --- a/lock/task.sql.lock +++ /dev/null @@ -1 +0,0 @@ -time consuming:0s \ No newline at end of file diff --git a/src/modules/base/config.ts b/src/modules/base/config.ts index 5629ae8..62e3189 100644 --- a/src/modules/base/config.ts +++ b/src/modules/base/config.ts @@ -22,7 +22,7 @@ export default () => { // 单点登录 sso: false, // 注意: 最好重新修改,防止破解 - secret: '18d9ed80852a11eebe1a49eaab5535f2', + secret: 'cool-admin-xxxxxx', // token token: { // 2小时过期,需要用刷新token diff --git a/src/modules/user/config.ts b/src/modules/user/config.ts index 51a1d98..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: '18da1490852a11eebe1a49eaab5535f2', + secret: 'cool-app-xxxxxx', }, } as ModuleConfig; };