Parcourir la source

feat():授权

geek il y a 4 ans
Parent
commit
865062ba17
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      application/index/controller/Index.php

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

@@ -15,6 +15,8 @@ class Index {
         $visitorId = input('visitorId');
         $notifyUrl = input('notify_url');
         if (empty(session('unionid'))){
+            var_dump(CommonService::getAuthUrl());
+            die();
             header("Location:".CommonService::getAuthUrl());
             return;
         }