yii2 beforeAction 重定向问题

不跳转代码:return $this->redirect('http://www.yiichina.com/');

跳转代码:return $this->redirect('http://www.yiichina.com/')->send();

 或者: $this->redirect('http://www.yiichina.com/')

     return false;

 

posted @ 2017-05-31 10:27  pengcx  阅读(3184)  评论(0编辑  收藏  举报