From d02c27a8f76bb10317fa13e7f99800f524f41e38 Mon Sep 17 00:00:00 2001 From: lcq Date: Mon, 8 Nov 2021 14:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=9C=9F=E6=97=A5=E6=9C=9F=E6=94=B9?= =?UTF-8?q?=E4=B8=BA30=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/adapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/adapter.js b/src/config/adapter.js index 9395d9b..70e69ed 100644 --- a/src/config/adapter.js +++ b/src/config/adapter.js @@ -66,7 +66,7 @@ exports.session = { tokenName: 'authorization', // if tokenType not 'cookie', this will be token name, 'jwt' is default 后端字母要小写 sign: { // sign options is not required - expiresIn: '604800s' // 7天过期 + expiresIn: '2592000s' // 30天过期 }, verify: { // verify options is not required