mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
修复小程序授权绑定开放平台问题
This commit is contained in:
parent
f055eda881
commit
574b1fc469
@ -68,7 +68,7 @@ class AuthController
|
||||
if ($e->getCode() == '-41003') return app('json')->fail('获取会话密匙失败');
|
||||
}
|
||||
if (!isset($userInfoCong['openid'])) return app('json')->fail('openid获取失败');
|
||||
if (!isset($userInfo['unionId'])) $userInfo['unionId'] = '';
|
||||
$userInfo['unionId'] = isset($userInfoCong['unionid']) ? $userInfoCong['unionid'] : '';
|
||||
$userInfo['openId'] = $userInfoCong['openid'];
|
||||
$userInfo['spid'] = $data['spread_spid'];
|
||||
$userInfo['code'] = $data['spread_code'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user