|
@@ -202,17 +202,17 @@ class RecycleDailyPublishArticlesTask(Const):
|
|
|
i for i in binding_accounts if i["gh_id"] not in self.FORBIDDEN_GH_IDS
|
|
i for i in binding_accounts if i["gh_id"] not in self.FORBIDDEN_GH_IDS
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
- 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": 1} for item in binding_accounts]
|
|
|
|
|
|
|
+ # account_status = await self.get_account_status()
|
|
|
|
|
+ account_list = [
|
|
|
|
|
+ {
|
|
|
|
|
+ **item,
|
|
|
|
|
+ "using_status": (
|
|
|
|
|
+ 0 if item["name"] in {"暖心一隅", "银发生活畅谈"} else 1
|
|
|
|
|
+ ),
|
|
|
|
|
+ }
|
|
|
|
|
+ for item in binding_accounts
|
|
|
|
|
+ ]
|
|
|
|
|
+ # account_list = [{**item, "using_status": 1} for item in binding_accounts]
|
|
|
|
|
|
|
|
# 订阅号
|
|
# 订阅号
|
|
|
subscription_accounts = [
|
|
subscription_accounts = [
|