大飞_dafei

导航

2017年12月22日 #

yii2 behaviors

摘要: yii2 behaviors 1、使用控制过滤器, return [ 'access' => [ 'class' => AccessControl::className(), 'rules' => [ [ 'allow' => true, 'actions' => ['index'], 'roles 阅读全文

posted @ 2017-12-22 16:03 大飞_dafei 阅读(84) 评论(0) 推荐(0) 编辑