作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

调试授权登录

@@ -24,7 +24,7 @@ class Goods extends WechatBase @@ -24,7 +24,7 @@ class Goods extends WechatBase
24 $user_id = get_current_user_id(); 24 $user_id = get_current_user_id();
25 if(empty($user_id)){ 25 if(empty($user_id)){
26 $target_url = urlencode(url('','',false,true)); 26 $target_url = urlencode(url('','',false,true));
27 - echo $target_url; 27 + echo urldecode($target_url);
28 exit(); 28 exit();
29 $this->redirect('user/authorization_view',array('target_url'=>$target_url)); 29 $this->redirect('user/authorization_view',array('target_url'=>$target_url));
30 } 30 }