Skip to content

Commit 32b5827

Browse files
committed
合并配置,使用开放平台
1 parent 724dd69 commit 32b5827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grant/types/WechatCredentials.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function getResponseData()
147147
protected function getUser()
148148
{
149149
if ($this->_user === null) {
150-
$client = $this->wechat->oauth;
150+
$client = $this->wechat->openOAuth;
151151
$client->useOpenId = false;//使用unionid
152152
$client->validateAuthState = false;
153153
$token = $client->fetchAccessToken($this->code);

0 commit comments

Comments
 (0)