From 931e45f5f78494c7af4cab75053da49b57f22fbe Mon Sep 17 00:00:00 2001 From: rk <94314517@qq.com> Date: 星期一, 13 十月 2025 14:31:43 +0800 Subject: [PATCH] 定时自动叫号 与 WMS获取车辆是否在园接口开发 --- server/system_service/src/main/java/com/doumee/config/jwt/JwtTokenUtil.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/server/system_service/src/main/java/com/doumee/config/jwt/JwtTokenUtil.java b/server/system_service/src/main/java/com/doumee/config/jwt/JwtTokenUtil.java index bd8d38a..910d2f9 100644 --- a/server/system_service/src/main/java/com/doumee/config/jwt/JwtTokenUtil.java +++ b/server/system_service/src/main/java/com/doumee/config/jwt/JwtTokenUtil.java @@ -229,6 +229,7 @@ try { String userInfo = (String) redisTemplate.opsForValue().get(Constants.REDIS_TOKEN_KEY+token); claims = JSONObject.toJavaObject(JSONObject.parseObject(userInfo),LoginUserInfo.class); + refreshTokenTime(token); } catch (Exception e) { claims = null; } @@ -239,9 +240,10 @@ * 鍚戝悗寤朵几鏈夋晥鏈熶繚鎸佷細璇濈户缁� * @param token */ - public void refreshTokenTime(String token ) { + log.error("===============寮�濮嬪埛鏂扮櫥褰晅oken"+token); redisTemplate.expire(Constants.REDIS_TOKEN_KEY+token,jwtProperties.getExpiration(), TimeUnit.MILLISECONDS); + log.error("===============缁撴潫鍒锋柊鐧诲綍token"+token); // redisTemplate.opsForValue().set(Constants.REDIS_TOKEN_KEY+token,usrerInfo,jwtProperties.getExpiration(), TimeUnit.MILLISECONDS); } } \ No newline at end of file -- Gitblit v1.9.3