Skip to content

Commit 604a9a1

Browse files
author
pedro
authored
修复更新用户密码api请求路径错误 (#291)
1 parent 54082c8 commit 604a9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lin/models/admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default class Admin {
134134
}
135135

136136
static async changePassword(new_password, confirm_password, id) {
137-
const res = await put(`cms/admin/password/${id}`, {
137+
const res = await put(`cms/admin/user/${id}/password`, {
138138
new_password,
139139
confirm_password,
140140
})

0 commit comments

Comments
 (0)