Skip to content

Commit

Permalink
更新用户标签:获取标签下粉丝列表方法,增加分页的next_openid,可分页获取标签下用户列表 (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
dingdayu authored and overtrue committed Jul 21, 2016
1 parent 471bbc4 commit 9248db6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/User/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,13 @@ public function userTags($openId)
* Get users from a tag.
*
* @param string $tagId
* @param string $nextOpenId
*
* @return int
*/
public function usersOfTag($tagId)
public function usersOfTag($tagId, $nextOpenId)
{
$params = ['tagid' => $tagId];
$params = ['tagid' => $tagId, 'next_openid' => $nextOpenId];

return $this->parseJSON('json', [self::API_USERS_OF_TAG, $params]);
}
Expand Down

0 comments on commit 9248db6

Please sign in to comment.