摘要: //根据request获取外网ip private static String getRemoteIp(HttpServletRequest request) { //x-forwarded-for:代表客户端,也就是HTTP的请求端真实的IP,只有在通过了HTTP代理或者负载均衡服务器时才会添加该 阅读全文
posted @ 2018-06-04 16:38 炫舞风中 阅读(620) 评论(0) 推荐(0) 编辑