Explorar el Código

feat():授权

geek hace 4 años
padre
commit
762df50420
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  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);
     }
 }