perf(platform): 按优先级分层查询账号候选池

This commit is contained in:
yml
2026-11-21 15:30:54 +08:00
parent e1d979a296
commit 3b0c48534d
5 changed files with 130 additions and 20 deletions
+10
View File
@@ -282,6 +282,16 @@ class Account(Base):
"points",
"id",
),
Index(
"ix_accounts_pool_tier",
"auto_managed",
"ck_check_status",
"status",
"elite_opened",
"ck_checked_at",
"points",
"id",
),
)
assigned_user: Mapped[User | None] = relationship(