refactor(user): 调整用户 ID 类型和添加 phone 字段

- 前端用户 ID 类型从 number 改为 string,与后端保持一致
- 后端用户服务添加 phone 字段处理
- 更新权限相关代码以适配新的 ID 类型
- E2E 测试中添加 phone 字段
This commit is contained in:
张翔
2026-04-18 13:05:20 +08:00
parent aedca161ec
commit a2bb6be0b9
9 changed files with 80 additions and 35 deletions
+1
View File
@@ -241,6 +241,7 @@ class TestRealE2E:
"username": username,
"password": "Test123!@#",
"email": f"search_{timestamp}_{i}@example.com",
"phone": f"1380013800{i}",
"status": 1
}
)