mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 08:27:46 +08:00
feat(auth): /me 接口返回 has_password 字段,前端 Profile 类型同步调整
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user