From 35b4acc5e8e264e55120f0a6dc9b4c37b70114c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Wed, 9 Aug 2023 23:23:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Etoken=E8=BF=87=E6=9C=9F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maku-server/src/main/resources/application.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maku-server/src/main/resources/application.yml b/maku-server/src/main/resources/application.yml index df170a7..49aa9d0 100644 --- a/maku-server/src/main/resources/application.yml +++ b/maku-server/src/main/resources/application.yml @@ -45,6 +45,11 @@ maku: enabled: true exclude-urls: - /maku-generator/** + security: + # 2小时过期 + access-token-expire: 7200 + # 14天过期 + refresh-token-expire: 1209600 mybatis-plus: mapper-locations: classpath*:/mapper/**/*.xml