add - yiso67899

This commit is contained in:
yangqiang3504
2022-09-08 16:31:08 +08:00
parent 79516d1501
commit d41b0a34c5
2 changed files with 5 additions and 7 deletions
@@ -801,6 +801,7 @@ public class PushAgent extends Spider {
return result.toString();
}
case "AliYun":
getRefreshTk();
String[] split = id.split("\\+");
String str3 = split[0];
String str5 = split[2];
@@ -120,13 +120,10 @@ public class PushAgentQQ extends Spider {
}
}
JSONObject result = new JSONObject();
int limit = 20;int total = videos.length();
int page = Integer.parseInt(pg)+1;
result.put("page", page);
int pageCount = (int)Math.ceil((double)total/limit);
result.put("pagecount", pageCount);
result.put("limit", limit);
result.put("total", total);
result.put("page", pg);
result.put("pagecount", Integer.MAX_VALUE);
result.put("limit", 120);
result.put("total", Integer.MAX_VALUE);
result.put("list", videos);
return result;
} catch (Exception e) {