Pārlūkot izejas kodu

增加是否会员

ZxcZxc123 1 gadu atpakaļ
vecāks
revīzija
2555db2488
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      app/api/controller/wechat/WechatController.php

+ 2 - 0
app/api/controller/wechat/WechatController.php

@@ -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)