From d1af677fff6ad931d0ba9a8506f516a9ceda79ab Mon Sep 17 00:00:00 2001 From: ZhaoYandong00 <zhaoyandong00@hotmail.com> Date: 星期一, 08 七月 2024 16:34:29 +0800 Subject: [PATCH] 修复在docker中使用,平台信息IP无法显示主机IP的问题 --- src/main/java/com/genersoft/iot/vmp/conf/GlobalResponseAdvice.java | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/GlobalResponseAdvice.java b/src/main/java/com/genersoft/iot/vmp/conf/GlobalResponseAdvice.java index 881611d..33fdd23 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/GlobalResponseAdvice.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/GlobalResponseAdvice.java @@ -10,13 +10,10 @@ import org.springframework.core.MethodParameter; import org.springframework.http.MediaType; import org.springframework.http.converter.HttpMessageConverter; -import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; import org.springframework.http.server.ServerHttpRequest; import org.springframework.http.server.ServerHttpResponse; import org.springframework.web.bind.annotation.RestControllerAdvice; import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice; - -import java.util.List; /** * 鍏ㄥ眬缁熶竴杩斿洖缁撴灉 -- Gitblit v1.8.0