修改密码

This commit is contained in:
daihh
2023-01-30 10:00:49 +08:00
parent c6cee0ca6a
commit c2f2cb66e7
2 changed files with 20 additions and 2 deletions

View File

@@ -48,6 +48,14 @@ const getOrgHrbpInfo = function(orgId) {
return ajax.postJson(baseURL,'/org/orgHrbpInfo',{orgId});
}
/**
* 修改密码
* {newPassword:'',oldPassword:''}
*/
const modifyPassword = function(data) {
return ajax.postJson('/user/resetPassword',data);
}
export default {
userParentOrg,
findOrgsByKeyword,
@@ -55,5 +63,6 @@ export default {
findOrgTreeByOrgId,
getUserInfoById,
getUserCrowds,
getOrgHrbpInfo
getOrgHrbpInfo,
modifyPassword
}