From 98250a7cff913563152ae8b313c7f45cc27545ba Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 27 二月 2025 09:13:50 +0800 Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit --- server/system_gateway/src/main/java/com/doumee/config/CustomWebFilterConfig.java | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/server/system_gateway/src/main/java/com/doumee/config/CustomWebFilterConfig.java b/server/system_gateway/src/main/java/com/doumee/config/CustomWebFilterConfig.java index ac43309..9e877a8 100644 --- a/server/system_gateway/src/main/java/com/doumee/config/CustomWebFilterConfig.java +++ b/server/system_gateway/src/main/java/com/doumee/config/CustomWebFilterConfig.java @@ -1,6 +1,5 @@ package com.doumee.config; -import com.doumee.config.GatewayFilterProperties; import com.doumee.config.jwt.JwtTokenUtil; import com.doumee.core.utils.Constants; import org.apache.commons.lang3.StringUtils; @@ -10,7 +9,6 @@ import org.springframework.data.redis.core.RedisTemplate; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; -import org.springframework.http.server.reactive.ServerHttpResponse; import org.springframework.http.server.reactive.ServerHttpRequest; import org.springframework.util.AntPathMatcher; import org.springframework.util.PathMatcher; @@ -41,7 +39,7 @@ if (StringUtils.isBlank(userInfo)) { return unAuthorize(exchange); } - jwtTokenUtil.refreshTokenTime(token,userInfo); + jwtTokenUtil.refreshTokenTime(token); //鎶婃柊鐨� exchange鏀惧洖鍒拌繃婊ら摼 ServerHttpRequest request = exchange.getRequest().mutate().header(Constants.HEADER_USER_TOKEN, token).build(); ServerWebExchange newExchange = exchange.mutate().request(request).build(); -- Gitblit v1.9.3