|
@@ -1,5 +1,6 @@
|
|
|
package cn.com.ctop.job.bytedance.data.service.impl;
|
|
package cn.com.ctop.job.bytedance.data.service.impl;
|
|
|
|
|
|
|
|
|
|
+import cn.com.ctop.job.bytedance.data.entity.AdvertiserAccount;
|
|
|
import cn.com.ctop.job.bytedance.data.entity.ByteDanceFlowDetailsReportDaily;
|
|
import cn.com.ctop.job.bytedance.data.entity.ByteDanceFlowDetailsReportDaily;
|
|
|
import cn.com.ctop.job.bytedance.data.mapper.ByteDanceFlowDetailsReportMapper;
|
|
import cn.com.ctop.job.bytedance.data.mapper.ByteDanceFlowDetailsReportMapper;
|
|
|
import cn.com.ctop.job.bytedance.data.service.IByteDanceFlowDetailsReportService;
|
|
import cn.com.ctop.job.bytedance.data.service.IByteDanceFlowDetailsReportService;
|
|
@@ -32,6 +33,11 @@ public class ByteDanceFlowDetailsReportServiceImpl implements IByteDanceFlowDeta
|
|
|
private ByteDanceFlowDetailsReportMapper byteDanceFlowDetailsReportMapper;
|
|
private ByteDanceFlowDetailsReportMapper byteDanceFlowDetailsReportMapper;
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
|
|
+ public List<AdvertiserAccount> getAdAccount() {
|
|
|
|
|
+ return byteDanceFlowDetailsReportMapper.getAdAccount();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
public void getBytedanceFlowDetailsDailyReport(Long advertiserId, String accessToken, String accountType, String startDate, String endDate, Integer page) {
|
|
public void getBytedanceFlowDetailsDailyReport(Long advertiserId, String accessToken, String accountType, String startDate, String endDate, Integer page) {
|
|
|
String url = "https://ad.oceanengine.com/open_api/2/advertiser/fund/daily_stat/";
|
|
String url = "https://ad.oceanengine.com/open_api/2/advertiser/fund/daily_stat/";
|
|
|
Map<String, Object> paramsMap = new HashMap<>();
|
|
Map<String, Object> paramsMap = new HashMap<>();
|