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