mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-24 01:39:37 +08:00
修改密码组件
This commit is contained in:
@@ -6,7 +6,7 @@ export function detail() {
|
||||
|
||||
// 修改密码
|
||||
export function password(oldPassword: string, newPassword: string) {
|
||||
return client.put("/api/v1/user/avatar", {
|
||||
return client.put("/api/v1/user/password", {
|
||||
old_password: oldPassword,
|
||||
new_password: newPassword,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user