浏览代码

feat():授权

geek 4 年之前
父节点
当前提交
865062ba17
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;
         }