🔄 卡若AI 同步 2026-03-11 17:28 | 更新:水溪整理归档、运营中枢工作台 | 排除 >20MB: 11 个

This commit is contained in:
2026-03-11 17:28:12 +08:00
parent a1179e4045
commit f1f3bfd67d
3 changed files with 9 additions and 0 deletions

View File

@@ -25,3 +25,10 @@
- 本机测试:`http://127.0.0.1:8010/api/health` 正常。
- 线上服务:`https://wantui.quwanzhi.com/api/health` 正常。
- KR 容器:`wantui`,状态 `healthy`,端口映射 `127.0.0.1:3810->8000`
### 登录可用性修复
- 注册页原先要求 `username` 最少 3 个字符,中文两字用户名(如“卡若”)会被后端 422 拦截。
- 已将后端注册模型的 `username` 最短长度调整为 `2`,兼容中文两字用户名。
- 前端登录/注册表单已增加本地校验与友好报错,不再直接弹原始 JSON 验证信息。
- 已在线上真实验证:两字用户名可注册,可登录,健康接口正常。