fix: 登录页补充 42300 账号锁定错误码映射

- 对齐后端 T4 新增的登录锁定契约(openapi.yaml),锁定时展示明确横幅而非通用兜底
- 门禁:format 0 changed / analyze 0 issues / flutter test 30 passed
This commit is contained in:
2026-09-04 12:17:25 +08:00
parent 8d890c0424
commit da25804a06
2 changed files with 8 additions and 3 deletions
+3
View File
@@ -19,6 +19,9 @@ abstract final class ApiCodes {
/// 手机号重复。
static const phoneTaken = 40901;
/// 登录失败次数过多,账号临时锁定(HTTP 423,见 openapi.yaml)。
static const loginLocked = 42300;
}
/// API 调用的类型化异常。页面按类型映射为三层错误呈现