qiushang 8 月之前
父節點
當前提交
e4e83f25b4
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1 7
      app/Http/Api/WechatOfficialController.php

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

@@ -119,13 +119,7 @@ class WechatOfficialController extends HttpBaseController
     private function saveUser($openid, $eventKey)
     {
         $userInfo = $this->app->user->get($openid);
-        $qr_scene_str = $eventKey;
-
-         // 场景值为 productMid:sessionId
-        $sceneStr = base64_decode($qr_scene_str);
-        if (empty($sceneStr)) {
-            abort(500, '登录授权失败,非法操作!');
-        }
+        $sceneStr = $eventKey;
 
         Log::info('$1111111111111111111111111 == ' . $sceneStr);