protected static String getRemortIP(HttpServletRequest request) {
if (request.getHeader("x-forwarded-for") == null) {
return request.getRemoteAddr();
}
return request.getHeader("x-forwarded-for");
}
request获取ip
最新推荐文章于 2025-09-23 14:53:48 发布
2191

被折叠的 条评论
为什么被折叠?



