修复一些问题,个人账号功能完善,注册功能完善,收藏,购物车功能完善,初版基本完成,投入测试

This commit is contained in:
xiaowang
2026-03-03 17:50:10 +08:00
parent b301e37468
commit b0470b8f86
23 changed files with 804 additions and 129 deletions
+4
View File
@@ -22,6 +22,7 @@ export interface UpdateUserInfoRequest {
nickname?: string
avatar?: string
signature?: string
phone?: string
}
export interface ListUsersParams {
@@ -87,5 +88,8 @@ export const userApi = {
},
sendVerificationCode: (data: { phone: string }) => {
return api.post('/user/send-verification-code', data)
},
deactivateAccount: () => {
return api.delete('/user/deactivate')
}
}