摘要: yii2 拦截器 在控制器中可以自定义对action的拦截器,拦截器需要继承\yii\base\ActionFilter 参考代码: class BaseUserAuthorizeFilter extends ActionFilter{ public $rules = []; pub... 阅读全文
posted @ 2015-06-17 17:19 Rhythmk 阅读(4474) 评论(0) 推荐(0) 编辑
Rhythmk 个人笔记