Skip to content

Commit

Permalink
返回 openid
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Jan 14, 2024
1 parent b2ebca6 commit 986fe5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RPC/User/UserInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ interface UserInterface

public function ping(): bool;

#[ArrayShape(['id' => 'int'])]
#[ArrayShape(['id' => 'int', 'openid' => 'string'])]
public function firstByCode(string $code, string $appid, int|OAuthType $type = OAuthType::WECHAT_MINI_APP): array;
}

0 comments on commit 986fe5e

Please sign in to comment.