wangdl 49bebad402 fix(ios): APIClient 401 错误码传递到 AuthManager,完成错误码分支闭环
- notifyTokenExpired 接受 errorCode 参数,通过 Notification userInfo 传递
- 401 响应提取 errorCode 后传给 notifyTokenExpired
- AuthManager 观察者从 userInfo 读取 errorCode,调用 applyErrorCode
- handleUnauthorized 根据 errorCode 切换精确状态(disabled/deleted/expired)
- restoreSession 冷启动也检查 errorCode,禁用/删除用户不尝试 refresh

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 21:13:15 +08:00
..