接口链接:https://github.com/binarywang
使用步骤:
将HttpServletRequest转成 ip
/**
* 获得请求地址ip
* @param httpservletrequest
* @return
*/
public static String getClientIP(HttpServletRequest httpservletrequest) {
if (httpservletrequest == null)
return null;
String s = httpservlet
2022-02-22 15:51:12
34KB
ar
bin
c
1