quguofeng hai 1 ano
pai
achega
2966dd327b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/controller/api/Auth.php

+ 1 - 0
app/controller/api/Auth.php

@@ -210,6 +210,7 @@ class Auth extends BaseController
         $make = app()->make(WechatUserRepository::class);
         $order_id = $this->request->param('order_id', 0);
         $wechatInfo['order_id'] = $order_id;
+        var_dump($wechatInfo);exit();
         $user = $make->syncUser($wechatInfo['openid'], $wechatInfo);
         if (!$user)
             return app('json')->fail('授权失败[003]');