05 2019 档案

摘要:/** * 获取地址栏中url后面拼接的参数 * eg: * 浏览器地址栏中的地址:http://1.1.1.1/test.html?owner=2db08226-e2fa-426c-91a1-66e26f62c13f&view=pc * var param=location.search;//?owner=2db08226-e2fa-426c-91a1-66e26f62c13f... 阅读全文
posted @ 2019-05-27 16:46 Goatherd 阅读(1060) 评论(0) 推荐(0)
摘要:/** * 两个数组取差集 * eg: * var arr1 = ["1","2","3","4"]; var arr2 = ["6","5","3","4"]; arr1.minus(arr2);--> 结果是:["1","2"] arr2.minus(arr1);--> 结果是:["6","5"] */ Array.prototype.min 阅读全文
posted @ 2019-05-27 16:17 Goatherd 阅读(168) 评论(0) 推荐(0)
摘要:获取ip 阅读全文
posted @ 2019-05-27 16:12 Goatherd 阅读(18311) 评论(0) 推荐(0)
摘要:1 package _test; 2 3 import java.util.LinkedList; 4 import java.util.List; 5 6 import org.apache.http.NameValuePair; 7 import org.apache.http.client.entity.UrlEncodedFormEntity; 8 import or... 阅读全文
posted @ 2019-05-10 15:45 Goatherd 阅读(497) 评论(0) 推荐(0)
摘要:1 package Test; 2 3 import java.io.IOException; 4 import java.io.InputStreamReader; 5 import java.net.URISyntaxException; 6 import java.util.ArrayList; 7 import java.util.List; 8 imp... 阅读全文
posted @ 2019-05-09 18:06 Goatherd 阅读(249) 评论(0) 推荐(0)
摘要:1.导包 1 <dependencies> 2 3 <dependency> 4 <groupId>org.springframework</groupId> 5 <artifactId>spring-webmvc</artifactId> 6 <version>3.2.8.RELEASE</ver 阅读全文
posted @ 2019-05-05 17:04 Goatherd 阅读(312) 评论(0) 推荐(0)