个人详情界面日期显示优化,完善了编辑信息和修改密码功能

This commit is contained in:
puzvv
2025-12-23 22:18:16 +08:00
parent d4af309e20
commit 3242f61b41
3 changed files with 343 additions and 101 deletions

View File

@@ -51,6 +51,15 @@ export const getUserProfile = (id: number) => {
});
};
// 更新用户信息
export const updateUserProfile = (data: Partial<UserInfo>) => {
return http({
url: "/user/update",
method: "put",
data,
});
};
// 获取用户地址列表
export const getAddressList = (userId: number) => {
return http<UserAddress[]>({