|
@@ -78,6 +78,8 @@ class WechatController
|
|
|
$wechatInfo['subscribe'] = 0;
|
|
|
}
|
|
|
$openid = $wechatInfo['openid'];
|
|
|
+ var_dump('1231231231231213');
|
|
|
+ var_dump($openid);
|
|
|
event('WechatOauthAfter', [$openid, $wechatInfo, $spreadId, $login_type]);
|
|
|
$user = User::where('uid', WechatUser::openidToUid($openid, 'openid'))->find();
|
|
|
if (!$user)
|