瀏覽代碼

feat():授权

geek 4 年之前
父節點
當前提交
bd2e4d7df9
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      application/index/controller/Index.php

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

@@ -17,12 +17,8 @@ class Index {
 
 
         $visitorId = input('visitorId');
         $visitorId = input('visitorId');
         $notifyUrl = input('notify_url');
         $notifyUrl = input('notify_url');
-        var_dump(Session::get('wxId'));
-        var_dump(\session('wxId'));
-        die();
         if (empty(Session::get('wxId'))){
         if (empty(Session::get('wxId'))){
             header("Location:".CommonService::getAuthUrl());
             header("Location:".CommonService::getAuthUrl());
-//            redirect(CommonService::getAuthUrl());
             die();
             die();
         }
         }
         //增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等
         //增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等