|
@@ -273,6 +273,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
|
|
|
private void getVideoListByPage(CtopOauthToken token, Date startDate, Date endDate, int page) {
|
|
|
try {
|
|
|
+ log.info("获取视频数据,accountId:{}", token.getAccountId());
|
|
|
String url = PropertiesUtils.getConfig("kuaishou_api_url") + KuaishouInterfaceConstant.VIDEO_LIST;
|
|
|
Map<String, String> headers = new HashMap<>();
|
|
|
headers.put("Content-Type", "application/json");
|
|
@@ -1805,7 +1806,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
|
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
- System.err.println(resultJson);
|
|
|
if (Check.isNull(resultJson)) {
|
|
|
log.error("获取广告创意返回结果为空,advertiserId:{}", advertiserId);
|
|
|
return;
|
|
@@ -1876,7 +1876,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
|
|
|
public void getCreativeListByPage(String accessToken, Long advertiserId, Date startDate, Date endDate, Integer page) {
|
|
|
try {
|
|
|
- System.err.println("获取创意accountId:" + advertiserId);
|
|
|
String url = PropertiesUtils.getConfig("kuaishou_api_url") + KuaishouInterfaceConstant.CREATIVE_LIST;
|
|
|
Map<String, String> headers = new HashMap<>();
|
|
|
headers.put("Content-Type", " application/json");
|