src/modules/base/config.ts
@@ -21,17 +21,17 @@ // 模块加载顺序,默认为0,值越大越优先加载 order: 10, // app参数配置允许读取的key allowKeys: [], allowKeys: ['privacyPolicy', 'userAgreement'], // jwt 生成解密token的 jwt: { // 单点登录 sso: false, // 注意: 最好重新修改,防止破解 secret: '9184c592-96a8-4db5-b722-65df1e892c83', secret: '83cd61e9-8e10-4efb-8c48-af22d773d774', // token token: { // 2小时过期,需要用刷新token expire: 7 * 24 * 3600, expire: 2 * 24 * 3600, // 15天内,如果没操作过就需要重新登录 refreshExpire: 24 * 3600 * 15, },