소스 검색

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');
         $notifyUrl = input('notify_url');
-        var_dump(Session::get('wxId'));
-        var_dump(\session('wxId'));
-        die();
         if (empty(Session::get('wxId'))){
             header("Location:".CommonService::getAuthUrl());
-//            redirect(CommonService::getAuthUrl());
             die();
         }
         //增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等