|
|
@@ -208,7 +208,7 @@ public class AdUnitReportServiceImpl implements IAdUnitReportService {
|
|
|
List<OauthAgentToken> list = agentTokenMapper.getOauthAgentTokenKs();
|
|
|
if (!Check.isNull(list)) {
|
|
|
for (OauthAgentToken agentToken : list) {
|
|
|
- getAgentReport(agentToken.getAccessToken(), agentToken.getAgentId(), date, date1, 1);
|
|
|
+ getAgentReport(agentToken.getAccessToken(), agentToken.getAgentId(), "2022-05-07", "2022-05-07", 1);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -239,7 +239,9 @@ public class AdUnitReportServiceImpl implements IAdUnitReportService {
|
|
|
param.put("page", page);
|
|
|
|
|
|
String result = HttpUtils.httpPostRequest(postUrl + KuaishouConstant.ANGENT_REPORT, param, headers);
|
|
|
+ System.out.println(param);
|
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
+ System.out.println(resultJson);
|
|
|
if (Check.isNull(resultJson)) {
|
|
|
log.info("代理商数据返回为空");
|
|
|
return;
|