摘要:
使用方法// scenario is set as a property$model = new User;$model->scenario = User::SCENARIO_SHOW;// scenario is set through configuration$model = new User... 阅读全文
摘要:
Role Based Access Control (RBAC)——基于角色的权限控制permissione.g. creating posts, updating postsroleA role represents a collection of permissions (e.g. creati... 阅读全文
摘要:
修改my.ini去掉bind-address 127.0.0.1或添加bind-address 0.0.0.0mysql -u root -p 进入mysql,执行grant all privileges on *.* to root@"%" identified by '123456';然后flu... 阅读全文