feat(profile): implement independent email update dialog to prevent accidental password resets during partial updates
This commit is contained in:
@ -68,6 +68,15 @@ export function changeMyPassword(data: { new_password: string; confirm_password:
|
||||
})
|
||||
}
|
||||
|
||||
// 【新增】自我更新邮箱(与密码修改完全隔离)
|
||||
export function updateMyEmail(data: { email: string }) {
|
||||
return request({
|
||||
url: '/v1/auth/me/email',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 【新增】批量创建用户
|
||||
export function batchCreateUser(data: any[]) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user