增加测试类
parent
bb465b46fb
commit
af5ec21b4e
|
|
@ -14,6 +14,9 @@ import java.util.List;
|
|||
|
||||
public class JsonExample {
|
||||
public static void main(String[] args) throws Exception {
|
||||
// long time = 0l;
|
||||
// int now = (int)time;
|
||||
// System.out.println(now);
|
||||
getForecRank();
|
||||
// String path1 = "D:\\yuenan_data\\1\\";
|
||||
// String path2 = "D:\\yuenan_data\\2\\";
|
||||
|
|
@ -193,7 +196,7 @@ public class JsonExample {
|
|||
int limit = 10;
|
||||
String hash = "test";
|
||||
List<com.alibaba.fastjson.JSONArray> list = new ArrayList<>();
|
||||
for(int i=1;i<=53;i++){
|
||||
for(int i=1;i<=62;i++){
|
||||
int serverId = 10000 + i;
|
||||
String req = url + "?server_id=" + serverId + "&limit=" + limit + "&hash=" + hash;
|
||||
String resp = HttpUtils.httpGetRequest(req);
|
||||
|
|
|
|||
Loading…
Reference in New Issue