Explorar o código

feat():授权

geek %!s(int64=4) %!d(string=hai) anos
pai
achega
762df50420
Modificáronse 1 ficheiros con 1 adicións e 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);
     }
 }