ソースを参照

修改微信评论的逻辑

swortect 2 日 前
コミット
757c48d236
1 ファイル変更1 行追加1 行削除
  1. 1 1
      server/python/platforms/weixin.py

+ 1 - 1
server/python/platforms/weixin.py

@@ -1288,7 +1288,7 @@ class WeixinPublisher(BasePublisher):
                     target_index = i
                     work_title = post.get("desc", {}).get("description", "无标题")
                     print(f"[{self.platform_name}] ✅ 找到目标作品: {work_title}")
-                    break
+                    continue
             
             if not target_feed or not target_post:
                 print(f"[{self.platform_name}] ❌ 未找到 work_id={work_id} 对应的作品")