ソースを参照

账号利用状态-强行等于 1

luojunhui 1 週間 前
コミット
5a85f7acf1

+ 10 - 3
applications/tasks/data_recycle_tasks/recycle_daily_publish_articles.py

@@ -187,12 +187,19 @@ class RecycleDailyPublishArticlesTask(Const):
         ]
 
         account_status = await self.get_account_status()
+        # account_list = [
+        #     {
+        #         **item,
+        #         "using_status": (
+        #             0 if account_status.get(item["account_id"]) == "实验" else 1
+        #         ),
+        #     }
+        #     for item in binding_accounts
+        # ]
         account_list = [
             {
                 **item,
-                "using_status": (
-                    0 if account_status.get(item["account_id"]) == "实验" else 1
-                ),
+                "using_status": 1
             }
             for item in binding_accounts
         ]