增加方法定义:checkFllow

This commit is contained in:
weinan2087
2022-10-17 22:01:04 +08:00
parent 87dddd9dc1
commit 0422b6c9a7

View File

@@ -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
}