|
@@ -62,6 +62,7 @@ public class KuaiShouReportDailyMaterialServiceImpl extends ServiceImpl<KuaiShou
|
|
|
|
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
|
+ log.info("快手返回数据:",resultJson);
|
|
if (Check.isNull(resultJson)) {
|
|
if (Check.isNull(resultJson)) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -89,8 +90,10 @@ public class KuaiShouReportDailyMaterialServiceImpl extends ServiceImpl<KuaiShou
|
|
material.setSignature(videoGetvo.getSignature());
|
|
material.setSignature(videoGetvo.getSignature());
|
|
}
|
|
}
|
|
material.setAccountId(accountId);
|
|
material.setAccountId(accountId);
|
|
|
|
+
|
|
addList.add(material);
|
|
addList.add(material);
|
|
}
|
|
}
|
|
|
|
+ log.info("addList:",addList);
|
|
dailyMaterialMapper.batchReplace(addList);
|
|
dailyMaterialMapper.batchReplace(addList);
|
|
getMaterialReportByAccountIdAndStatDate(accountId, token, startDate, endDate, page + 1);
|
|
getMaterialReportByAccountIdAndStatDate(accountId, token, startDate, endDate, page + 1);
|
|
}
|
|
}
|