摘要: import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import org.apache.commons.lang.StringUtils; /** ... 阅读全文
posted @ 2018-11-22 17:38 TracyRanch 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 如果是多级反向代理上面方法不不行的话会出现 x-forwarded-for获取的地址是一长串的多个ip地址 阅读全文
posted @ 2018-11-22 16:20 TracyRanch 阅读(1329) 评论(0) 推荐(0) 编辑