qiushang 8 月之前
父节点
当前提交
5b2d2860bc
共有 1 个文件被更改,包括 1 次插入2 次删除
  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)) {