提交
This commit is contained in:
1 parent
2142b33cfa
commit
3520f9ce90
27 files changed
+248553
-252041
No files matched your search
@@ -87,3 +87,12 @@ export function fetchLogout() {
|
||||
url: '/web/auth/logout'
|
||||
})
|
||||
}
|
||||
|
||||
/** 当前用户修改密码 */
|
||||
export function fetchChangePassword(data: { oldPassword: string; newPassword: string }) {
|
||||
return request.post({
|
||||
url: '/web/auth/change-password',
|
||||
data,
|
||||
showSuccessMessage: true
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user