geek лет назад: 4
Родитель
Сommit
4f5ebfcf35

+ 1 - 1
application/common/service/CommonService.php

@@ -25,7 +25,7 @@ class CommonService {
 
     public static function getAuthUrl() {
         $baseUrl = self::getBaeUrl();
-        return $baseUrl.'?redirecturi='.self::getRedirectUrl();
+        return 'http://mdttest.kydev.net/api/wechat/focusarea/11/28?redirecturi=https://webcast.bizconfstreaming.com/index/user/login';
     }
 
     public static function getBaeUrl() {

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

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