...
|
...
|
@@ -23,12 +23,8 @@ class Goods extends WechatBase |
|
|
//判断是否授权
|
|
|
$user_id = get_current_user_id();
|
|
|
if(empty($user_id)){
|
|
|
dump(url('','',false,true));
|
|
|
echo $this->request->controller();
|
|
|
echo $this->request->module();
|
|
|
echo $this->request->action();
|
|
|
exit();
|
|
|
$this->redirect('user/authorization_view');
|
|
|
$target_url = UrlEncode(url('','',false,true));
|
|
|
$this->redirect('user/authorization_view',array('target_url'=>$target_url));
|
|
|
}
|
|
|
$this->user_id = $user_id;
|
|
|
}
|
...
|
...
|
|