From 20b54a7c394e95b778ee822a47cb9495442d95fd Mon Sep 17 00:00:00 2001 From: Yjoioooo <693337446@qq.com> Date: Thu, 6 Apr 2023 11:51:22 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=8E=BB=E9=99=A4same-token=E6=9C=89?= =?UTF-8?q?=E9=99=90=E6=9C=9F=E9=85=8D=E7=BD=AE=EF=BC=8C=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE=EF=BC=88=E4=B8=80=E5=A4=A9?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/nacos/application-common.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/nacos/application-common.yml b/config/nacos/application-common.yml index 2ba64f14..d61b7036 100644 --- a/config/nacos/application-common.yml +++ b/config/nacos/application-common.yml @@ -175,8 +175,8 @@ sa-token: activity-timeout: 1800 # 开启内网服务调用鉴权 check-same-token: true - # Same-Token的有效期 (单位: 秒) - same-token-timeout: 600 + # Same-Token的有效期 (单位: 秒)(默认一天) + # same-token-timeout: 600 # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) is-concurrent: true # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)