|
|
@@ -429,7 +429,7 @@ public class Polyv {
|
|
|
* @throws IOException
|
|
|
* @throws NoSuchAlgorithmException
|
|
|
*/
|
|
|
- public JSONObject getPageMessageList(String channelId, String currentDay, String pageSize, String page) {
|
|
|
+ public JSONObject getPageMessageList(String channelId,String startDay, String endDay, String pageSize, String page) {
|
|
|
//ÒµÎñ²ÎÊý
|
|
|
String url = "http://api.polyv.net/live/v3/channel/chat/get-history-page";
|
|
|
try {
|
|
|
@@ -442,8 +442,8 @@ public class Polyv {
|
|
|
Map<String, String> requestMap = new HashMap<>();
|
|
|
requestMap.put("appId", appid);
|
|
|
requestMap.put("timestamp", String.valueOf(System.currentTimeMillis()));
|
|
|
- requestMap.put("startDay", currentDay);
|
|
|
- requestMap.put("endDay", currentDay);
|
|
|
+ requestMap.put("startDay", startDay);
|
|
|
+ requestMap.put("endDay", endDay);
|
|
|
requestMap.put("channelId", channelId);
|
|
|
requestMap.put("page", page);
|
|
|
requestMap.put("pageSize", pageSize);
|