加载中
YII2 RBAC规则与源码分析

YII2 RBAC 规则细说 我们新建这样的规则 我们在yii2 admin中添加以上规则 然后我们新增一个测试的权限,写个规则名字 并把这权限赋给要测试用户 我们用这用户登录后,运行/site/about,当然用...

yii2-AutoComplete-id-name

页面 <?php echo \yii\jui\AutoComplete::widget([ 'name' => 'supplierInfo', 'id' => 'supplierId', 'options' => ['class' => 'form-control'], 'clientOptions' => [ 'source' => Url::t...

2017/12/29 23:03
184
YII2 GridView与AutoComplete

index.php //'specification', [ 'label' => '规格', 'attribute' => 'specification', 'value' => 'specification', 'filter' => \yii\jui\AutoComplete::widget([ 'model'=>$searchModel,...

2017/12/08 10:41
289
yii2 redis 并发锁正确姿势

<?php namespace common\components; use Yii; /** * Description of LockTools * * @author user */ class LockTools { public $token = 0; public function __construct() { $this->token ...

YII2 无限级递归权限验证

<?php namespace backend\components; use Yii; use common\models\Department; use common\models\DepartmentUser; /** * Description of CheckPermision * * @author user */ class CheckP...

2017/08/25 15:03
632

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部