mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 23:06:45 +08:00
二次查询接口
This commit is contained in:
@@ -63,18 +63,17 @@ const detail = function(id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改用户信息
|
* 修改个签
|
||||||
* 参数是下面的返回值里的user
|
|
||||||
* */
|
* */
|
||||||
const update=function (data){
|
const updateSign=function (sign){
|
||||||
return ajax.get('/xboe/sys/user/update',data);
|
return ajax.get('/xboe/sys/user/update-sign?sign='+sign);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 新的用户详情
|
* 修改动态u
|
||||||
|
* dynamic 0代表全部 1代表最近半年 2代表最近三个月
|
||||||
* */
|
* */
|
||||||
const detailUser=function (id){
|
const updateDynamic=function (dynamic){
|
||||||
return ajax.get('/xboe/sys/user/detail-user?id='+id);
|
return ajax.get('/xboe/sys/user/update-dynamic?dynamic='+dynamic);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default{
|
export default{
|
||||||
@@ -84,6 +83,6 @@ export default{
|
|||||||
getByLoginName,
|
getByLoginName,
|
||||||
findByName,
|
findByName,
|
||||||
detail,
|
detail,
|
||||||
detailUser,
|
updateSign,
|
||||||
update
|
updateDynamic
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user