mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
二次查询接口
This commit is contained in:
@@ -62,12 +62,23 @@ const counts=function (aid){
|
|||||||
return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/counts?aid='+aid);
|
return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/counts?aid='+aid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询是否已关注
|
||||||
|
* @param{
|
||||||
|
* followId 关注人的id
|
||||||
|
* }
|
||||||
|
* */
|
||||||
|
const has=function (followId){
|
||||||
|
return ajax.get('/xboe/subgroup/m/userfollow/has?followId='+followId);
|
||||||
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
save,
|
save,
|
||||||
remove,
|
remove,
|
||||||
page,
|
page,
|
||||||
mypage,
|
mypage,
|
||||||
ids,
|
ids,
|
||||||
counts
|
counts,
|
||||||
|
has
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user