From eb1d0c66ea8480c3836d6ae86aa0785a8936bf6c Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 25 Aug 2019 22:16:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DexpireTime=E4=BC=9A=E8=AF=9D?= =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=E6=97=A0=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../src/main/resources/application.yml | 2 +- .../main/resources/ehcache/ehcache-shiro.xml | 27 ++++++++++++++++--- 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index b13b0069..62eb104d 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ UTF-8 UTF-8 1.8 - 1.4.0 + 1.4.1 2.0.0 1.3.2 1.1.14 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 15e79712..5d882930 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -109,7 +109,7 @@ shiro: # 设置Cookie的过期时间,天为单位 maxAge: 30 session: - # Session超时时间(默认30分钟) + # Session超时时间,-1代表永不过期(默认30分钟) expireTime: 30 # 同步session到数据库的周期(默认1分钟) dbSyncPeriod: 1 diff --git a/ruoyi-admin/src/main/resources/ehcache/ehcache-shiro.xml b/ruoyi-admin/src/main/resources/ehcache/ehcache-shiro.xml index 66c01c30..0ff3c1e2 100644 --- a/ruoyi-admin/src/main/resources/ehcache/ehcache-shiro.xml +++ b/ruoyi-admin/src/main/resources/ehcache/ehcache-shiro.xml @@ -3,7 +3,15 @@ - + + + + + + + + + - - + + - + + + + + \ No newline at end of file