From e1ac085b28440871c9639a63615b7a0f1081e6f3 Mon Sep 17 00:00:00 2001 From: wuyouming666 <2265557248@qq.com> Date: 星期二, 05 九月 2023 15:13:59 +0800 Subject: [PATCH] 1、Plcaction类 接收前端message并 writeword 同时每10秒readword 发送给前端并渲染 2、用户token 设置为一天 ,超时自动跳转到登录页面 3、layout布局el-head 高度调整 --- springboot-vue3/src/main/java/com/example/springboot/security/constant/SystemConstant.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/springboot-vue3/src/main/java/com/example/springboot/security/constant/SystemConstant.java b/springboot-vue3/src/main/java/com/example/springboot/security/constant/SystemConstant.java index 2440116..1a99f01 100644 --- a/springboot-vue3/src/main/java/com/example/springboot/security/constant/SystemConstant.java +++ b/springboot-vue3/src/main/java/com/example/springboot/security/constant/SystemConstant.java @@ -9,7 +9,8 @@ /** * rememberMe 涓� false 鐨勬椂鍊欒繃鏈熸椂闂存槸1涓皬鏃� */ - public static final long EXPIRATION = 60 * 60L; + public static final long EXPIRATION = 60 * 60 * 24L; + /** * rememberMe 涓� true 鐨勬椂鍊欒繃鏈熸椂闂存槸7澶� */ -- Gitblit v1.8.0