mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
增加方法定义:checkFllow
This commit is contained in:
@@ -12,6 +12,16 @@ const save=function (followId){
|
||||
return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/save?followId='+followId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查是否已关注
|
||||
* @param{
|
||||
* followId
|
||||
* }
|
||||
* */
|
||||
const checkFllow=function (followId){
|
||||
return ajax.get(baseURL,'/xboe/subgroup/m/userfollow/checkFllow?followId='+followId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消关注
|
||||
*
|
||||
@@ -79,6 +89,6 @@ export default {
|
||||
mypage,
|
||||
ids,
|
||||
counts,
|
||||
has
|
||||
has,
|
||||
checkFllow
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user