|
|
@@ -113,7 +113,7 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
}
|
|
|
JSONArray array = data.getJSONArray("list");
|
|
|
for (int i = 0; i < array.size(); i++) {
|
|
|
- checkPromotionInfo(array.getJSONObject(i));
|
|
|
+ checkPromotionInfo(array.getJSONObject(i), advertiserId);
|
|
|
}
|
|
|
|
|
|
if (!Check.isNull(array))
|
|
|
@@ -138,7 +138,8 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- private void checkPromotionInfo(JSONObject entity) {
|
|
|
+ private void checkPromotionInfo(JSONObject entity, Long advertiserId) {
|
|
|
+ entity.put("advertiser_id", advertiserId);
|
|
|
JSONObject promotionMaterials = entity.getJSONObject("promotion_materials");
|
|
|
if (!Check.isNull(promotionMaterials)) {
|
|
|
entity.put("playlet_series_url_list", promotionMaterials.getString("playlet_series_url_list"));
|
|
|
@@ -172,7 +173,7 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
|
|
|
//不传默认返回不限(不含已删除)
|
|
|
filtering.put("status_first", "PROJECT_STATUS_DELETE");
|
|
|
}
|
|
|
- if(!Check.isNull(date)){
|
|
|
+ if (!Check.isNull(date)) {
|
|
|
filtering.put("project_modify_time", date);
|
|
|
}
|
|
|
|