|
@ -87,8 +87,8 @@ export function getPageList(data) { |
|
|
//重置密码功能 | 用户信息维护
|
|
|
//重置密码功能 | 用户信息维护
|
|
|
export function putpassword(id) { |
|
|
export function putpassword(id) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: baseURL + '/account/reset-password/' + id, |
|
|
url: baseURL + '/identity/users/reset-password/' + id, |
|
|
method: 'put' |
|
|
method: 'post' |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -194,9 +194,9 @@ export function putLoginUserInfo(data) { |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
//修改登录用户的密码-强密码规则
|
|
|
//修改登录用户的密码-强密码规则
|
|
|
export function postLoginUserInfo(data) { |
|
|
export function postLoginUserInfo(data, id) { |
|
|
return request({ |
|
|
return request({ |
|
|
url: baseURL + '/identity/my-profile/change-password', |
|
|
url: baseURL + '/identity/users/change-password/' + id, |
|
|
method: 'post', |
|
|
method: 'post', |
|
|
data |
|
|
data |
|
|
}) |
|
|
}) |
|
|