geek před 4 roky
rodič
revize
762df50420
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      application/index/controller/Index.php

+ 1 - 3
application/index/controller/Index.php

@@ -15,8 +15,6 @@ class Index {
         $visitorId = input('visitorId');
         $notifyUrl = input('notify_url');
         if (empty(session('unionid'))){
-            var_dump(CommonService::getAuthUrl());
-            die();
             header("Location:".CommonService::getAuthUrl());
             return;
         }
@@ -27,7 +25,7 @@ class Index {
         }else{
             $returnUrl = $notifyUrl."?key=".$key."&expire=3600";
         }
-        header("Location:".$returnUrl.'&a='.session('unionid'));//跳转到直播观看页
+        header("Location:".$returnUrl);//跳转到直播观看页
         //        redirect($returnUrl);
     }
 }