From 89680a017ab69195c92982f1fcd4811fbbb8d37b Mon Sep 17 00:00:00 2001 From: lijiaqi Date: Wed, 15 Feb 2023 11:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 0130d1c..dfb2667 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -103,11 +103,11 @@ sa-token: # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒 activity-timeout: 1800 # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) - is-concurrent: false + is-concurrent: true # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) - is-share: false + is-share: true # token风格 - token-style: simple-uuid + token-style: uuid # 是否输出操作日志 is-log: false # token前缀