Przeglądaj źródła

feat: 解构增加品类字段

jihuaqiang 1 miesiąc temu
rodzic
commit
7105293437
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      scheduler/decode_dispatch_job.py

+ 2 - 0
scheduler/decode_dispatch_job.py

@@ -306,6 +306,8 @@ def _build_posts_payload(records: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
                 "title": item.get("title") or "",
                 "video": item.get("url") or "",
                 "images": [],
+                "mergeLeve1": item.get("cate1") or "",
+                "mergeLeve2": item.get("cate2") or "",
                 "contentModal": 4,
                 "channel": 10,
             }