IP地址取客户端的,优化

This commit is contained in:
季圣华
2017-09-06 23:54:11 +08:00
parent 60b87954a8
commit 179e874ee0
62 changed files with 94 additions and 62 deletions

View File

@@ -2,7 +2,7 @@
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String clientIp = Tools.getCurrentUserIP();
String clientIp = Tools.getLocalIp(request);
%>
<!DOCTYPE html>
<html>