!53 修复异步操作导致的request null,IP获取错误

Merge pull request !53 from TwelveT/N/A
pull/53/MERGE
若依 4 years ago committed by Gitee
commit 29cd58d3f4

@ -14,6 +14,11 @@ public class IpUtils
{
public static String getIpAddr(HttpServletRequest request)
{
if(request == null){
return null;
}
String ip = null;
// X-Forwarded-ForSquid 服务代理

Loading…
Cancel
Save