修复(CK检测): 统一斗鱼CK有效性检测入口并禁止非鉴权接口覆盖状态
This commit is contained in:
@@ -327,6 +327,8 @@ def _capability_candidate_query(
|
||||
),
|
||||
case((Account.ck_check_status == "valid", 0), else_=1),
|
||||
case((Account.status == "active", 0), else_=1),
|
||||
Account.ck_checked_at.is_(None).asc(),
|
||||
Account.ck_checked_at.desc(),
|
||||
case((Account.elite_opened.is_(True), 0), else_=1),
|
||||
case(
|
||||
(Account.points >= max(0, int(required_points)), 0),
|
||||
|
||||
Reference in New Issue
Block a user