新增swagger支持

This commit is contained in:
cool 2023-11-22 10:00:28 +08:00
parent 5bad64b982
commit ad1bfdad63
7 changed files with 2 additions and 7 deletions

View File

@ -1 +0,0 @@
time consuming1s

View File

@ -1 +0,0 @@
time consuming0s

View File

@ -1 +0,0 @@
time consuming0s

View File

@ -1 +0,0 @@
time consuming0s

View File

@ -1 +0,0 @@
time consuming0s

View File

@ -22,7 +22,7 @@ export default () => {
// 单点登录
sso: false,
// 注意: 最好重新修改,防止破解
secret: '18d9ed80852a11eebe1a49eaab5535f2',
secret: 'cool-admin-xxxxxx',
// token
token: {
// 2小时过期需要用刷新token

View File

@ -41,7 +41,7 @@ export default () => {
// 刷新token 过期时间,单位秒
refreshExpire: 60 * 60 * 24 * 30,
// jwt 秘钥
secret: '18da1490852a11eebe1a49eaab5535f2',
secret: 'cool-app-xxxxxx',
},
} as ModuleConfig;
};