• 暮色苍茫 分享于2017-01-05 被收藏0次 0人推荐 0条评论
    public String getIp(HttpServletRequest request){2.String ip=request.getHeader("X-Forwarded-For");3.if(ip==null||ip.length()==0||"unknown".equalsIgnoreCase(ip))4.ip=request.getHeader("Proxy-Client-IP");5.if(ip==null||ip.l

也许你感兴趣

换一批