作者 郭鑫
1 个管道 的构建 通过 耗费 0 秒

测试问题修改

@@ -122,6 +122,10 @@ class WxloginController extends HomeBaseController @@ -122,6 +122,10 @@ class WxloginController extends HomeBaseController
122 } 122 }
123 } else { 123 } else {
124 $url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=".Config::get('WX_APPID')."&redirect_uri=" . $redirect_uri . "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"; 124 $url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=".Config::get('WX_APPID')."&redirect_uri=" . $redirect_uri . "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
  125 + echo "<pre/>";
  126 + print_r(22222222222);
  127 + print_r($redirect_uri);
  128 + die;
125 Header("Location: $url"); 129 Header("Location: $url");
126 exit; 130 exit;
127 } 131 }