|
@@ -41,7 +41,7 @@ public class KuaishouLiveAccountReportDailyServiceImpl implements IKuaishouLiveA
|
|
|
@Override
|
|
|
public void getKuaishouAccountReport(Long accountId, String token) {
|
|
|
try {
|
|
|
- String beforeYesterday = DateUtils.getSubtractTime(new Date(), 2);
|
|
|
+ String beforeYesterday = DateUtils.getSubtractTime(new Date(), 3);
|
|
|
String yesterday = DateUtils.getSubtractTime(new Date(), 1);
|
|
|
long startDate = DateUtils.timeToStamp(beforeYesterday + " 00:00:00");
|
|
|
long endDate = DateUtils.timeToStamp(yesterday + " 23:59:59");
|
|
@@ -69,6 +69,7 @@ public class KuaishouLiveAccountReportDailyServiceImpl implements IKuaishouLiveA
|
|
|
param.put("page_info", pageInfo);
|
|
|
param.put("param", params);
|
|
|
JSONObject apiResult = APIUtil.getApiResult(KuaishouAPIConstant.REPORT_LIST, token, param);
|
|
|
+ System.out.println(params.toJSONString());
|
|
|
if (apiResult.getInteger("code") == 0) {
|
|
|
apiResult = apiResult.getJSONObject("data");
|
|
|
JSONArray data = apiResult.getJSONArray("data");
|