|
@@ -2,6 +2,7 @@ package com.xxl.job.executor.material.service.impl;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
+import com.xxl.job.core.context.XxlJobHelper;
|
|
import com.xxl.job.executor.common.entity.CtopOauthToken;
|
|
import com.xxl.job.executor.common.entity.CtopOauthToken;
|
|
import com.xxl.job.executor.common.service.ICtopOauthTokenService;
|
|
import com.xxl.job.executor.common.service.ICtopOauthTokenService;
|
|
import com.xxl.job.executor.material.entity.*;
|
|
import com.xxl.job.executor.material.entity.*;
|
|
@@ -238,10 +239,11 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public Map<String, Object> getAdvertiserPlan(CtopOauthToken token, String ids, String date, String updateDate) {
|
|
public Map<String, Object> getAdvertiserPlan(CtopOauthToken token, String ids, String date, String updateDate) {
|
|
- getAd(token, 1, ids, date, updateDate);
|
|
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
|
|
+ getAd(token, 1, ids, date, updateDate);
|
|
resultMap.put("code", 0);
|
|
resultMap.put("code", 0);
|
|
resultMap.put("message", "获取广告计划信息成功");
|
|
resultMap.put("message", "获取广告计划信息成功");
|
|
|
|
+ XxlJobHelper.log("头条计划数据获取完成:accountId=>{}",token.getAccountId());
|
|
return resultMap;
|
|
return resultMap;
|
|
}
|
|
}
|
|
|
|
|