mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
新增swagger支持
This commit is contained in:
parent
5bad64b982
commit
ad1bfdad63
@ -1 +0,0 @@
|
|||||||
time consuming:1s
|
|
@ -1 +0,0 @@
|
|||||||
time consuming:0s
|
|
@ -1 +0,0 @@
|
|||||||
time consuming:0s
|
|
@ -1 +0,0 @@
|
|||||||
time consuming:0s
|
|
@ -1 +0,0 @@
|
|||||||
time consuming:0s
|
|
@ -22,7 +22,7 @@ export default () => {
|
|||||||
// 单点登录
|
// 单点登录
|
||||||
sso: false,
|
sso: false,
|
||||||
// 注意: 最好重新修改,防止破解
|
// 注意: 最好重新修改,防止破解
|
||||||
secret: '18d9ed80852a11eebe1a49eaab5535f2',
|
secret: 'cool-admin-xxxxxx',
|
||||||
// token
|
// token
|
||||||
token: {
|
token: {
|
||||||
// 2小时过期,需要用刷新token
|
// 2小时过期,需要用刷新token
|
||||||
|
@ -41,7 +41,7 @@ export default () => {
|
|||||||
// 刷新token 过期时间,单位秒
|
// 刷新token 过期时间,单位秒
|
||||||
refreshExpire: 60 * 60 * 24 * 30,
|
refreshExpire: 60 * 60 * 24 * 30,
|
||||||
// jwt 秘钥
|
// jwt 秘钥
|
||||||
secret: '18da1490852a11eebe1a49eaab5535f2',
|
secret: 'cool-app-xxxxxx',
|
||||||
},
|
},
|
||||||
} as ModuleConfig;
|
} as ModuleConfig;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user