chore: token expire

pull/21/merge
xiaojunnuo 2023-06-29 08:56:09 +08:00
parent 2bcab76f5a
commit 3791d92d67
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { env } from "./util.env"; import { env } from "./util.env";
function isNullOrUnDef(value) { function isNullOrUnDef(value: any) {
return value == null; return value == null;
} }
const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7; const DEFAULT_CACHE_TIME = 60 * 60 * 24 * 7;

View File

@ -68,7 +68,7 @@ const development = {
auth: { auth: {
jwt: { jwt: {
secret: 'certd666', secret: 'certd666',
expire: 7 * 24 * 60, //单位秒 expire: 7 * 24 * 60 * 60, //单位秒
}, },
}, },
certd: { certd: {