ref : 重构令牌管理逻辑,,统一状态码识别
This commit is contained in:
@@ -37,16 +37,3 @@ export function updateUserPassword(oldPassword: string, newPassword: string) {
|
||||
data: { oldPassword, newPassword },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户强制重置密码
|
||||
* @param password 密码
|
||||
* @returns object
|
||||
*/
|
||||
export function updateUserPasswordForce(password: string) {
|
||||
return request({
|
||||
url: '/system/user/profile/password-force',
|
||||
method: 'PUT',
|
||||
data: { password },
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user