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