修改密码页面添加

This commit is contained in:
2026-08-27 16:43:26 +08:00
parent f850774d65
commit 97a0465890
9 changed files with 132 additions and 26 deletions
+9
View File
@@ -100,3 +100,12 @@ export function resetPasswordApi(id: number) {
});
}
// 修改用户密码
export function changePasswordApi(params: { oldPassword: string, password: string }) {
return request({
url: `/api/user/change-password`,
method: 'post',
data: params
});
}