Skip to content

Commit

Permalink
支持获取商铺分页
Browse files Browse the repository at this point in the history
  • Loading branch information
terranc authored Aug 19, 2023
1 parent fa561a4 commit 7401888
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/OAuth/SessionClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ public function query(string $session)
* @throws \GuzzleHttp\Exception\GuzzleException
* @return array|\Psr\Http\Message\ResponseInterface
*/
public function scope(string $session, string $bid)
public function scope(string $session, string $bid, int $offset = 0, int $limit = 500)
{
return $this->httpGet('router/oauth/session/scope', [
'session' => $session,
'bid' => $bid,
'offset' => $offset,
'limit' => $limit,
]);
}
}

0 comments on commit 7401888

Please sign in to comment.