|
@@ -92,7 +92,6 @@ public class KuaiShouHistoryReportTaskServiceImpl extends ServiceImpl<KuaiShouHi
|
|
param.put("task_name", taskName);
|
|
param.put("task_name", taskName);
|
|
taskParams.put("view_type", type);
|
|
taskParams.put("view_type", type);
|
|
param.put("task_params", taskParams);
|
|
param.put("task_params", taskParams);
|
|
- System.err.println("入参:" + param.toJSONString());
|
|
|
|
|
|
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
@@ -123,7 +122,6 @@ public class KuaiShouHistoryReportTaskServiceImpl extends ServiceImpl<KuaiShouHi
|
|
param.put("task_name", taskName);
|
|
param.put("task_name", taskName);
|
|
taskParams.put("view_type", type);
|
|
taskParams.put("view_type", type);
|
|
param.put("task_params", taskParams);
|
|
param.put("task_params", taskParams);
|
|
- System.err.println("入参:" + param.toJSONString());
|
|
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
log.info("请求状态返回数据:{}", resultJson);
|
|
log.info("请求状态返回数据:{}", resultJson);
|
|
@@ -271,13 +269,13 @@ public class KuaiShouHistoryReportTaskServiceImpl extends ServiceImpl<KuaiShouHi
|
|
private void getHistoryTypeList() {
|
|
private void getHistoryTypeList() {
|
|
|
|
|
|
historyTypeList = new ArrayList<>();
|
|
historyTypeList = new ArrayList<>();
|
|
- historyTypeList.add(5);
|
|
|
|
- /* historyTypeList.add(1);
|
|
|
|
|
|
+
|
|
|
|
+ historyTypeList.add(1);
|
|
historyTypeList.add(2);
|
|
historyTypeList.add(2);
|
|
historyTypeList.add(3);
|
|
historyTypeList.add(3);
|
|
historyTypeList.add(4);
|
|
historyTypeList.add(4);
|
|
historyTypeList.add(5);
|
|
historyTypeList.add(5);
|
|
- historyTypeList.add(10);*/
|
|
|
|
|
|
+ historyTypeList.add(10);
|
|
}
|
|
}
|
|
|
|
|
|
private void getDailyTypeList() {
|
|
private void getDailyTypeList() {
|