From 7401888bc0d2aa11f872de48563851e293cf37f1 Mon Sep 17 00:00:00 2001 From: Terran Date: Sat, 19 Aug 2023 09:44:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=8E=B7=E5=8F=96=E5=95=86?= =?UTF-8?q?=E9=93=BA=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OAuth/SessionClient.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/OAuth/SessionClient.php b/src/OAuth/SessionClient.php index 38ed4f8..9625d41 100644 --- a/src/OAuth/SessionClient.php +++ b/src/OAuth/SessionClient.php @@ -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, ]); } }