|
|
@@ -133,6 +133,7 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
} else {
|
|
|
log.error("获取广告列表失败(url:{}),入参:{}\n结果:{}", url, JSONObject.toJSONString(params), obj);
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
}
|
|
|
if (nextPage) {
|
|
|
@@ -225,6 +226,7 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
} else {
|
|
|
log.error("获取项目列表失败(url:{}),入参:{}\n结果:{}", url, JSONObject.toJSONString(params), obj);
|
|
|
}
|
|
|
+ return;
|
|
|
}
|
|
|
}
|
|
|
if (nextPage) {
|
|
|
@@ -403,9 +405,13 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
|
|
|
for (Object o : list) {
|
|
|
JSONObject json = (JSONObject) o;
|
|
|
- json.put("advertiser_id", advertiserId);
|
|
|
- json.put("app_name", json.getString("name"));
|
|
|
- dorisLoadManager.add("media_api", "bytedance_wx_app_info", json);
|
|
|
+ JSONObject jsonObject = new JSONObject();
|
|
|
+ jsonObject.put("advertiser_id", advertiserId);
|
|
|
+ jsonObject.put("app_name", json.getString("name"));
|
|
|
+ jsonObject.put("instance_id", json.getString("instance_id"));
|
|
|
+ jsonObject.put("user_nme", json.getString("user_name"));
|
|
|
+ jsonObject.put("path", json.getString("path"));
|
|
|
+ dorisLoadManager.add("media_api", "bytedance_wx_app_info", jsonObject);
|
|
|
}
|
|
|
}
|
|
|
|