YII2 RBAC 规则细说 我们新建这样的规则 我们在yii2 admin中添加以上规则 然后我们新增一个测试的权限,写个规则名字 并把这权限赋给要测试用户 我们用这用户登录后,运行/site/about,当然用...
页面 <?php echo \yii\jui\AutoComplete::widget([ 'name' => 'supplierInfo', 'id' => 'supplierId', 'options' => ['class' => 'form-control'], 'clientOptions' => [ 'source' => Url::t...
index.php //'specification', [ 'label' => '规格', 'attribute' => 'specification', 'value' => 'specification', 'filter' => \yii\jui\AutoComplete::widget([ 'model'=>$searchModel,...
<?php namespace common\components; use Yii; /** * Description of LockTools * * @author user */ class LockTools { public $token = 0; public function __construct() { $this->token ...
<?php namespace backend\components; use Yii; use common\models\Department; use common\models\DepartmentUser; /** * Description of CheckPermision * * @author user */ class CheckP...
没有更多内容
加载失败,请刷新页面
没有更多内容
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复