Explorar el Código

feat():授权

geek hace 4 años
padre
commit
43d02d2fc4
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      application/index/controller/Index.php

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

@@ -17,8 +17,7 @@ class Index {
 
         $visitorId = input('visitorId');
         $notifyUrl = input('notify_url');
-        var_dump(session('unionid'));
-        die();
+
         if (empty(session('unionid'))){
             header("Location:".CommonService::getAuthUrl());
 //            redirect(CommonService::getAuthUrl());