ZxcZxc123 преди 1 година
родител
ревизия
64e0f9de7e
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      app/api/controller/wechat/WechatController.php

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

@@ -65,8 +65,6 @@ class WechatController
         } catch (\Exception $e) {
         } catch (\Exception $e) {
             return app('json')->fail('授权失败', ['message' => $e->getMessage(), 'line' => $e->getLine()]);
             return app('json')->fail('授权失败', ['message' => $e->getMessage(), 'line' => $e->getLine()]);
         }
         }
-        var_dump('123456');
-        var_dump($wechatInfo);
         if (!isset($wechatInfo['nickname'])) {
         if (!isset($wechatInfo['nickname'])) {
             $wechatInfo = WechatService::getUserInfo($wechatInfo['openid']);
             $wechatInfo = WechatService::getUserInfo($wechatInfo['openid']);
             if (!$wechatInfo['subscribe'] && !isset($wechatInfo['nickname']))
             if (!$wechatInfo['subscribe'] && !isset($wechatInfo['nickname']))