|
@@ -18,7 +18,6 @@ import cn.com.ctop.kuaishou.modules.material.entity.KuaishouResultToken;
|
|
|
import cn.com.ctop.kuaishou.modules.report.entity.*;
|
|
|
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyAccountMapper;
|
|
|
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyCampaignMapper;
|
|
|
-import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyGroupMapper;
|
|
|
import cn.com.ctop.kuaishou.modules.report.service.*;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
@@ -71,10 +70,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
@Autowired
|
|
|
private IKuaiShouCreativeService creativeService;
|
|
|
@Autowired
|
|
|
- private KuaiShouConversionInfosMapper conversionInfosMapper;
|
|
|
- @Autowired
|
|
|
- private KuaiShouConversionTypesMapper conversionTypesMapper;
|
|
|
- @Autowired
|
|
|
private KuaiShouRegionListChildrenMapper regionListChildrenMapper;
|
|
|
@Autowired
|
|
|
private KuaiShouRegionListParentMapper regionListParentMapper;
|
|
@@ -95,8 +90,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
@Autowired
|
|
|
private IKuaishouReportDailyCampaignService dailyCampaignService;
|
|
|
@Autowired
|
|
|
- private KuaishouReportDailyGroupMapper dailyGroupMapper;
|
|
|
- @Autowired
|
|
|
private IKuaishouReportHourlyGroupService hourlyGroupService;
|
|
|
@Autowired
|
|
|
private IKuaishouReportDailyCreativeService dailyCreativeService;
|
|
@@ -113,8 +106,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
@Autowired
|
|
|
private IUserAllocationService userAllocationService;
|
|
|
@Autowired
|
|
|
- private IKuaishouReportDailyCreativeStatisticService dailyCreativeStatisticService;
|
|
|
- @Autowired
|
|
|
private IKuaiShouHistoryReportTaskService historyReportTaskService;
|
|
|
@Autowired
|
|
|
private IKuaiShouImageGetService kuaiShouImageGetService;
|
|
@@ -125,8 +116,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
@Autowired
|
|
|
private IKuaiShouGroupService getKuaiShouGroupService;
|
|
|
@Autowired
|
|
|
- private IKuaiShouAdvertiserBaseInfoService KuaiShouAdvertiserBaseInfoService;
|
|
|
- @Autowired
|
|
|
private IWarningOperationService warningOperationService;
|
|
|
|
|
|
|
|
@@ -838,7 +827,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
Date getStartDate = DateUtils.addDay(endDate, -i);
|
|
|
//1: 获取广告主信息数据
|
|
|
getAdvertiserReportHourly(token, getStartDate, getStartDate);
|
|
|
- getAdvertiserReportDaily(token, getStartDate, getStartDate, "adScene");
|
|
|
+ getAdvertiserReportDaily(token, getStartDate, getStartDate, null);
|
|
|
//2:获取广告计划信息数据
|
|
|
// getAdvertiserCampaignReportHourly(token, getStartDate, getStartDate);
|
|
|
//3:获取广告组信息数据
|
|
@@ -1328,6 +1317,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
group.setUnitType(detail.getInteger("unit_type"));
|
|
|
group.setUrlType(detail.getInteger("url_type"));
|
|
|
group.setUrl(detail.getString("url"));
|
|
|
+ group.setSchemaUri(detail.getString("schema_uri"));
|
|
|
group.setAppId(detail.getLong("app_id"));
|
|
|
group.setAppIconUrl(detail.getString("app_icon_url"));
|
|
|
group.setGroupCreateTime(detail.getString("create_time"));
|