소스 검색

feat():授权

geek 4 년 전
부모
커밋
e51d3af107
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      application/index/controller/Index.php

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

@@ -15,7 +15,8 @@ class Index {
         $visitorId = input('visitorId');
         $notifyUrl = input('notify_url');
         if (empty(session('unionid'))){
-            header("Location:".CommonService::getAuthUrl());
+//            header("Location:".CommonService::getAuthUrl());
+            header("Location:http://mdttest.kydev.net/api/wechat/focusarea/11/28?redirecturi=https://webcast.bizconfstreaming.com/index/user/login");
             return;
         }
         //增加客户自己的验证逻辑,例如登录,关注,付费,填手机号等