refactor(huya): runner 按功能域拆分 Mixin

huya_runner.py (1664行) → core/bind/goods/recharge 四个 Mixin + 入口聚合:
- huya_runner_core.py: 批次状态/日志/任务落库/注册表 + 共用常量 sourceId
- huya_runner_bind.py: 绑定状态机/扫码确认绑定/轮询
- huya_runner_goods.py: 积分/兑换记录/商品刷新/兑换
- huya_runner_recharge.py: 充值商品/下单/到账轮询
- 对外 API 不变 (HuyaBatchRunner/huya_batch_registry), routers 零改动
- pyflakes 全净 (含 TYPE_CHECKING 注解/跨域常量导入修复), 99 单测通过
This commit is contained in:
yml2213
2026-08-30 11:25:35 +08:00
parent 9f743e50a6
commit b9eb944d2f
5 changed files with 1580 additions and 1508 deletions
File diff suppressed because it is too large Load Diff