qiushang 8 luni în urmă
părinte
comite
5b2d2860bc
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 2
      app/Http/Api/WechatOfficialController.php

+ 1 - 2
app/Http/Api/WechatOfficialController.php

@@ -129,11 +129,10 @@ class WechatOfficialController extends HttpBaseController
      */
     private function saveUser($openid, $eventKey)
     {
+        abort(500, '登录授权失败,请重新扫码!');
         $userInfo = $this->app->user->get($openid);
         $qr_scene_str = $eventKey;
 
-        $this->testSend('test');
-
          // 场景值为 productMid:sessionId
         $sceneStr = base64_decode($qr_scene_str);
         if (empty($sceneStr)) {