注销账号,账号安全页面功能开发

This commit is contained in:
fengerli
2025-09-18 14:20:08 +08:00
parent d8f281a891
commit 5116ae4ff7
8 changed files with 404 additions and 3 deletions

View File

@ -59,4 +59,21 @@ export function forgetPassword(data) {
method: 'POST',
data: data
})
}
// 修改密码
export function updatePassword(data) {
return request({
url: '/app/userCenter/updatePassword',
method: 'POST',
data: data
})
}
// 用户注销
export function cancelAccount(data) {
return request({
url: '/app/userCenter/cancelAccount',
method: 'POST',
data: data
})
}