add - yiso67899
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user