新增token过期配置

This commit is contained in:
阿沐 2023-08-09 23:23:45 +08:00
parent 5aade85399
commit 35b4acc5e8

View File

@ -45,6 +45,11 @@ maku:
enabled: true enabled: true
exclude-urls: exclude-urls:
- /maku-generator/** - /maku-generator/**
security:
# 2小时过期
access-token-expire: 7200
# 14天过期
refresh-token-expire: 1209600
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml mapper-locations: classpath*:/mapper/**/*.xml