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(); return result.toString();
} }
case "AliYun": case "AliYun":
getRefreshTk();
String[] split = id.split("\\+"); String[] split = id.split("\\+");
String str3 = split[0]; String str3 = split[0];
String str5 = split[2]; String str5 = split[2];
@@ -120,13 +120,10 @@ public class PushAgentQQ extends Spider {
} }
} }
JSONObject result = new JSONObject(); JSONObject result = new JSONObject();
int limit = 20;int total = videos.length(); result.put("page", pg);
int page = Integer.parseInt(pg)+1; result.put("pagecount", Integer.MAX_VALUE);
result.put("page", page); result.put("limit", 120);
int pageCount = (int)Math.ceil((double)total/limit); result.put("total", Integer.MAX_VALUE);
result.put("pagecount", pageCount);
result.put("limit", limit);
result.put("total", total);
result.put("list", videos); result.put("list", videos);
return result; return result;
} catch (Exception e) { } catch (Exception e) {