mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 21:24:16 +08:00
根因(鸡生蛋蛋生鸡的循环依赖): 保存乱填 key 后 detect_capabilities → get_client() 读旧 capabilities.json (此时还是 none 档)→ _should_use_free_server() 返回 True → 用 TickFlow.free() 探测 → free 服务器忽略 key, 日K成功 → 误判为 free 档。 修复: _probe_real 改用探测专用客户端, 强制走付费端点(api.tickflow.org)验证 key 有效性, 不再依赖运行时的 get_client()(受旧缓存档位影响)。 乱填 key 在付费端点全部 AuthenticationError → 正确判定 none 档 + invalid。 版本: 0.1.37