mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
potal二期接口
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user