feat(auth): /me 接口返回 has_password 字段,前端 Profile 类型同步调整

This commit is contained in:
fawney19
2026-04-24 14:52:49 +08:00
parent 780f09c1a2
commit e0c928fbe8
5 changed files with 16 additions and 3 deletions
+1 -1
View File
@@ -518,7 +518,7 @@ const mockHandlers: Record<string, (config: AxiosRequestConfig) => Promise<Axios
// ========== 用户信息 ==========
'GET /api/users/me': async () => {
await delay()
return createMockResponse(getCurrentUser())
return createMockResponse(getCurrentProfile())
},
'PUT /api/users/me': async () => {