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

@@ -3,7 +3,7 @@
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String clientIp = Tools.getCurrentUserIP();
String clientIp = Tools.getLocalIp(request);
%>
<!DOCTYPE html>
<html>