From 1b85f0f0d3f41e102139441630ebfd7eb4d095f6 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: Tue, 11 Jul 2023 17:21:07 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=20token=20=E6=9C=89=E6=95=88=E6=9C=9F?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ruoyi-common-satoken/src/main/resources/common-satoken.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruoyi-common/ruoyi-common-satoken/src/main/resources/common-satoken.yml b/ruoyi-common/ruoyi-common-satoken/src/main/resources/common-satoken.yml index c631641e..95e1b41b 100644 --- a/ruoyi-common/ruoyi-common-satoken/src/main/resources/common-satoken.yml +++ b/ruoyi-common/ruoyi-common-satoken/src/main/resources/common-satoken.yml @@ -1,6 +1,8 @@ # 内置配置 不允许修改 如需修改请在 nacos 上写相同配置覆盖 # Sa-Token配置 sa-token: + # 允许动态设置 token 有效期 + dynamic-active-timeout: true # 允许从 请求参数 读取 token is-read-body: true # 允许从 header 读取 token