potal二期接口

This commit is contained in:
86182
2022-09-13 17:14:54 +08:00
parent f37e696241
commit 92d31a421b

View File

@@ -62,11 +62,28 @@ const detail = function(id) {
return ajax.get('/xboe/sys/user/detail?id='+id);
}
/**
* 修改用户信息
* 参数是下面的返回值里的user
* */
const update=function (data){
return ajax.get('/xboe/sys/user/update',data);
}
/**
* 新的用户详情
* */
const detailUser=function (id){
return ajax.get('/xboe/sys/user/detail-user?id='+id);
}
export default{
list,
searchLoginName,
getByIds,
getByLoginName,
findByName,
detail
detail,
detailUser,
update
}