huangpingkang 1 yıl önce
ebeveyn
işleme
f81aca5ce1

+ 5 - 0
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/impl/BytedanceCdpProjectServiceImpl.java

@@ -115,6 +115,7 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
                     JSONArray array = data.getJSONArray("list");
                     for (int i = 0; i < array.size(); i++) {
                         JSONObject jsonObject = array.getJSONObject(i);
+                        jsonObject.put("promotion_list", jsonObject.toJSONString());
                         checkPromotionInfo(jsonObject, advertiserId);
                         dorisLoadManager.add("media_api", "bytedance_promotion_list", jsonObject);
                     }
@@ -155,6 +156,10 @@ public class BytedanceCdpProjectServiceImpl implements IBytedanceCdpProjectServi
                 entity.put("url", miniProgramInfo.getString("url"));
             }
         }
+        JSONObject nativeSetting = entity.getJSONObject("native_setting");
+        if (!Check.isNull(nativeSetting)) {
+            entity.put("aweme_id", nativeSetting.getString("aweme_id"));
+        }
     }
 
     @Override