增加测试类

master_yuenan
DESKTOP-C3M45P4\dengdan 2026-02-25 11:16:58 +08:00
parent bb465b46fb
commit af5ec21b4e
1 changed files with 4 additions and 1 deletions

View File

@ -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);