From ee51fc86cc7501ab006ca2d09bdb03dab33d3295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Wed, 25 Oct 2023 16:29:46 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9B=B4=E6=96=B0=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=20satoken=20yml=20=E6=97=B6=E9=97=B4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=20=E6=AD=A4=E5=8A=9F=E8=83=BD=E5=B7=B2=E8=BF=81?= =?UTF-8?q?=E7=A7=BB=E8=87=B3=E5=AE=A2=E6=88=B7=E7=AB=AF=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/nacos/application-common.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/nacos/application-common.yml b/config/nacos/application-common.yml index 2df20bd2..96d4e5ca 100644 --- a/config/nacos/application-common.yml +++ b/config/nacos/application-common.yml @@ -148,11 +148,6 @@ logging: sa-token: # token名称 (同时也是cookie名称) token-name: Authorization - # token固定超时 设为七天 (必定过期) 单位: 秒 - timeout: 604800 - # 多端不同 token 有效期 可查看 LoginHelper.loginByDevice 方法自定义 - # token最低活跃时间 (指定时间无操作就过期) 单位: 秒 - active-timeout: 1800 # 开启内网服务调用鉴权(不允许越过gateway访问内网服务 保障服务安全) check-same-token: true # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)