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

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

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