正在显示
2 个修改的文件
包含
6 行增加
和
1 行删除
@@ -23,6 +23,11 @@ class Goods extends WechatBase | @@ -23,6 +23,11 @@ class Goods extends WechatBase | ||
23 | //判断是否授权 | 23 | //判断是否授权 |
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 | + dump(url()); | ||
27 | + echo $this->request->controller(); | ||
28 | + echo $this->request->module(); | ||
29 | + echo $this->request->action(); | ||
30 | + exit(); | ||
26 | $this->redirect('user/authorization_view'); | 31 | $this->redirect('user/authorization_view'); |
27 | } | 32 | } |
28 | $this->user_id = $user_id; | 33 | $this->user_id = $user_id; |
-
请 注册 或 登录 后发表评论