【学习笔记】thinkPHP的RBAC的基本用方法
<br /> <br /> <br /> <br />1.在数据库中创建相应的表<br /> <br />SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for think_access
-- ----------------------------
CREATE TABLE `think_access` (
`role_id` smallint(6) unsigned NOT NULL,
原创
2011-02-11 17:12:00 ·
4486 阅读 ·
0 评论