Browse Source

token失效改为24小时

gao.qiang 2 months ago
parent
commit
a262e7fc05
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hazard-admin/src/main/resources/application.yml

+ 2 - 2
hazard-admin/src/main/resources/application.yml

@@ -115,8 +115,8 @@ token:
   header: Authorization
   # 令牌密钥
   secret: abcdefghijklmnopqrstuvwxyz
-  # 令牌有效期(默认30分钟
-  expireTime: 120
+  # 令牌有效期(默认24小时
+  expireTime: 1440
 # app:token配置
 apptoken:
   # 令牌自定义标识