正在显示
1 个修改的文件
包含
4 行增加
和
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 | } |
-
请 注册 或 登录 后发表评论