This commit is contained in:
2026-04-10 13:31:15 +08:00
parent 6c59e41b32
commit c092662ebe
56 changed files with 4362 additions and 684 deletions
+15
View File
@@ -0,0 +1,15 @@
CREATE TABLE `wa_user_role` (
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`pid` int unsigned DEFAULT NULL COMMENT '父级',
`name` varchar(80) NOT NULL COMMENT '角色组',
`rules` text COMMENT '权限',
`right` json DEFAULT NULL COMMENT '权益',
`max_send_msg_count` int DEFAULT '0' COMMENT '最大消息数量',
`max_friend_count` int DEFAULT '0' COMMENT '最大好友数量',
`max_group_join_count` int DEFAULT '0' COMMENT '最大加入的群组数量',
`max_gourp_create_count` int DEFAULT NULL COMMENT '最大创建的群组数量',
`created_at` int DEFAULT NULL COMMENT '创建时间',
`updated_at` int DEFAULT NULL COMMENT '更新时间',
`status` tinyint DEFAULT NULL COMMENT '状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='管理员角色';