Commit 5e7400d5 authored by 夏彬's avatar 夏彬

添加获取某个用户的关注总数

parent c1179627
......@@ -61,4 +61,17 @@ class Follow extends Client
{
return self::call('follow.getFollowUser', compact('userId'));
}
/**
* 获取关注数量
* @param $userId
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function countByUserId($userId)
{
return self::call('follow.countByUserId', compact('userId'));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment