注销账号,账号安全页面功能开发
This commit is contained in:
@ -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
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user