feat(huya): 多选登录改单线程队列并拆分路由与工作台

默认同时只登一个号,失败两次跳下一个,号间留间隔,结束后可一键重试失败账号。
顺带拆分虎牙路由与斗鱼工作台页面,并补齐 raw_cookie 重建入口。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-09-10 11:31:50 +08:00
co-authored by Cursor
parent 8dea9e3244
commit e81119117f
27 changed files with 6405 additions and 5409 deletions
+2 -1
View File
@@ -508,7 +508,8 @@ class TestHuyaAppLogin:
)
with patch(
"web.backend.routers.huya.login_huya_app_password", return_value=mock_res
"web.backend.routers.huya.login.login_huya_app_password",
return_value=mock_res,
):
req = HuyaAppPasswordLoginRequest(
username="mock_test_huya_user",