|
@@ -41,8 +41,9 @@ public class KuaishouLiveAccountReportDailyServiceImpl implements IKuaishouLiveA
|
|
@Override
|
|
@Override
|
|
public void getKuaishouAccountReport(Long accountId, String token) {
|
|
public void getKuaishouAccountReport(Long accountId, String token) {
|
|
try {
|
|
try {
|
|
|
|
+ String yesterday2 = DateUtils.getSubtractTime(new Date(), 1);
|
|
String yesterday = DateUtils.getSubtractTime(new Date(), 0);
|
|
String yesterday = DateUtils.getSubtractTime(new Date(), 0);
|
|
- long startDate = DateUtils.timeToStamp(yesterday + " 00:00:00");
|
|
|
|
|
|
+ long startDate = DateUtils.timeToStamp(yesterday2 + " 00:00:00");
|
|
long endDate = DateUtils.timeToStamp(yesterday + " 23:59:59");
|
|
long endDate = DateUtils.timeToStamp(yesterday + " 23:59:59");
|
|
getAccountReport(accountId, token, startDate, endDate, 1);
|
|
getAccountReport(accountId, token, startDate, endDate, 1);
|
|
Thread.sleep(200);
|
|
Thread.sleep(200);
|