ソースを参照

feat():授权

geek 4 年 前
コミット
43d02d2fc4
共有1 個のファイルを変更した1 個の追加2 個の削除を含む
  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());