dinky/mysql57/initdb/init_db.sql

140 lines
26 KiB
MySQL
Raw Normal View History

2025-02-12 17:03:12 +08:00
CREATE DATABASE IF NOT EXISTS demo CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE DATABASE IF NOT EXISTS to_demo CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE DATABASE IF NOT EXISTS dinky;
CREATE TABLE IF NOT EXISTS demo.`admin_menu` (
`menu_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_menu_id` int(10) unsigned NOT NULL,
`menu_type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1:菜单 2:页面 3:操作按钮',
`menu_title` varchar(100) NOT NULL DEFAULT '',
`menu_name` varchar(100) NOT NULL DEFAULT '',
`menu_path` varchar(100) NOT NULL DEFAULT '',
`menu_icon` varchar(100) NOT NULL DEFAULT '',
`menu_server_uri` varchar(100) NOT NULL DEFAULT '',
`sort_index` int(10) NOT NULL DEFAULT '0',
`create_time` int(10) unsigned NOT NULL DEFAULT '0',
`update_time` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS demo.`admin_role` (
`role_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`role_name` varchar(20) NOT NULL DEFAULT '',
`menu_ids` varchar(1024) NOT NULL DEFAULT '',
`operator_uid` int(10) unsigned NOT NULL DEFAULT '0',
`create_time` int(10) unsigned NOT NULL DEFAULT '0',
`update_time` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`role_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS demo.`admin_user` (
`uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`realname` varchar(20) NOT NULL DEFAULT '',
`phone` char(11) NOT NULL DEFAULT '',
`role_id` int(10) unsigned NOT NULL DEFAULT '0',
`operator_uid` int(10) unsigned NOT NULL DEFAULT '0',
`create_time` int(10) unsigned NOT NULL DEFAULT '0',
`update_time` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`uid`) USING BTREE,
UNIQUE KEY `phone` (`phone`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS to_demo.`admin_user` (
`uid` int(10) unsigned NOT NULL AUTO_INCREMENT,
`realname` varchar(20) NOT NULL DEFAULT '',
`phone` char(11) NOT NULL DEFAULT '',
`role_id` int(10) unsigned NOT NULL DEFAULT '0',
`operator_uid` int(10) unsigned NOT NULL DEFAULT '0',
`create_time` int(10) unsigned NOT NULL DEFAULT '0',
`update_time` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`uid`) USING BTREE,
UNIQUE KEY `phone` (`phone`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (1, 0, 1, '数据管理', 'DataManagement', '', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (2, 1, 1, '数据中心', 'DataCenter', '', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (3, 2, 2, '数据总览', 'DataCenterSummary', '/dataCenter/summary', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (4, 2, 2, '投放数据', 'DataCenterPutIn', '/dataCenter/putIn', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (5, 2, 2, '对账数据', 'DataCenterRefund', '/dataCenter/refund', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (6, 2, 2, '对账管理', 'DataCenterBillManage', '/dataCenter/billManage', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (7, 1, 1, 'OA管理', 'OACenter', '', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (10, 7, 2, '商户管理', 'OACenterOutBusiness', '/conpanyManage/outBusiness', '', '/backend/merchant/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (12, 7, 2, '平台管理', 'OACenterPlatform', '/conpanyManage/platform', '', '/backend/platform/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (13, 7, 2, '工作室管理', 'OACenterStudioManage', '/OACenter/studioManage', '', '/backend/studio/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (14, 7, 2, '项目管理', 'OACenterTeamManage', '/OACenter/teamManage', '', '/backend/project/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (15, 7, 2, '版号管理', 'OACenterVersionManage', '/OACenter/versionManage', '', '/backend/isbn/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (16, 7, 2, '产品管理', 'OACenterProductManage', '/OACenter/productManage', '', '/backend/product/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (17, 7, 2, 'IP管理', 'OACenterIpManage', '/OACenter/ipManage', '', '/backend/ip/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (18, 1, 1, '权限管理', 'setup', '', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (19, 18, 2, '角色管理', 'role', '/setup/role', '', '/backend/role/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (20, 18, 2, '用户管理', 'user', '/setup/user', '', '/backend/user/listPaging', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (21, 6, 3, '新增', 'DataCenterBillManageCreate', '', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (22, 6, 3, '更新', 'DataCenterBillManageUpdate', '', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (23, 6, 3, '删除', 'DataCenterBillManageDelete', '', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (24, 9, 3, '新增', 'OACenterConpanySubjectCreate', '', '', '/backend/entity/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (25, 9, 3, '更新', 'OACenterConpanySubjectUpdate', '', '', '/backend/entity/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (26, 9, 3, '删除', 'OACenterConpanySubjectDelete', '', '', '/backend/entity/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (27, 10, 3, '新增', 'OACenterOutBusinessCreate', '', '', '/backend/merchant/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (28, 10, 3, '更新', 'OACenterOutBusinessUpdate', '', '', '/backend/merchant/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (29, 10, 3, '删除', 'OACenterOutBusinessDelete', '', '', '/backend/merchant/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (30, 11, 3, '新增', 'OACenterOutSubjectCreate', '', '', '/backend/entity/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (31, 11, 3, '更新', 'OACenterOutSubjectUpdate', '', '', '/backend/entity/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (32, 11, 3, '删除', 'OACenterOutSubjectDelete', '', '', '/backend/entity/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (33, 12, 3, '新增', 'OACenterPlatformCreate', '', '', '/backend/platform/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (34, 12, 3, '更新', 'OACenterPlatformUpdate', '', '', '/backend/platform/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (35, 12, 3, '删除', 'OACenterPlatformDelete', '', '', '/backend/platform/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (36, 13, 3, '新增', 'OACenterStudioManageCreate', '', '', '/backend/studio/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (37, 13, 3, '更新', 'OACenterStudioManageUpdate', '', '', '/backend/studio/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (38, 13, 3, '删除', 'OACenterStudioManageDelete', '', '', '/backend/studio/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (39, 14, 3, '新增', 'OACenterTeamManageCreate', '', '', '/backend/project/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (40, 14, 3, '更新', 'OACenterTeamManageUpdate', '', '', '/backend/project/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (41, 14, 3, '删除', 'OACenterTeamManageDelete', '', '', '/backend/project/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (42, 15, 3, '新增', 'OACenterVersionManageCreate', '', '', '/backend/isbn/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (43, 15, 3, '更新', 'OACenterVersionManageUpdate', '', '', '/backend/isbn/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (44, 15, 3, '删除', 'OACenterVersionManageDelete', '', '', '/backend/isbn/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (45, 16, 3, '新增', 'OACenterProductManageCreate', '', '', '/backend/product/create', 0, 1726166800, 1726166800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (46, 16, 3, '更新', 'OACenterProductManageUpdate', '', '', '/backend/product/update', 0, 1726166800, 1726166800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (47, 16, 3, '删除', 'OACenterProductManageDelete', '', '', '/backend/product/delete', 0, 1726166800, 1726166800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (48, 17, 3, '新增', 'OACenterIpManageCreate', '', '', '/backend/ip/create', 0, 1726176800, 1726176800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (49, 17, 3, '更新', 'OACenterIpManageUpdate', '', '', '/backend/ip/update', 0, 1726176800, 1726176800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (50, 17, 3, '删除', 'OACenterIpManageDelete', '', '', '/backend/ip/delete', 0, 1726176800, 1726176800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (51, 19, 3, '新增', 'roleCreate', '', '', '/backend/role/create', 0, 1926196800, 1926196800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (52, 19, 3, '更新', 'roleUpdate', '', '', '/backend/role/update', 0, 1926196800, 1926196800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (53, 19, 3, '删除', 'roleDelete', '', '', '/backend/role/delete', 0, 1926196800, 1926196800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (54, 20, 3, '新增', 'userCreate', '', '', '/backend/user/create', 0, 2026206800, 2026206800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (55, 20, 3, '更新', 'userUpdate', '', '', '/backend/user/update', 0, 2026206800, 2026206800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (56, 20, 3, '删除', 'userDelete', '', '', '/backend/user/delete', 0, 2026206800, 2026206800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (57, 7, 2, '体系管理', 'OACenterSystem', '/OACenter/system', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (58, 57, 3, '新增', 'channelTypeCreate', '', '', '/backend/system/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (59, 57, 3, '更新', 'channelTypeUpdate', '', '', '/backend/system/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (60, 57, 3, '删除', 'channelTypeDelete', '', '', '/backend/system/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (61, 7, 2, '渠道类型', 'OACenterChannelType', '/OACenter/channelType', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (62, 61, 3, '新增', 'systemCreate', '', '', '/backend/channel/create', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (63, 61, 3, '更新', 'systemUpdate', '', '', '/backend/channel/update', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (64, 61, 3, '删除', 'systemDelete', '', '', '/backend/channel/delete', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (65, 7, 2, '主体管理', 'OACenterSubject', '/OACenter/subject', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (66, 65, 3, '新增', 'OACenterSubjectCreate', '', '', '/backend/entity/create', 0, 1726556800, 1726556800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (67, 65, 3, '更新', 'OACenterSubjectUpdate', '', '', '/backend/entity/update', 0, 1726556800, 1726556800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (68, 65, 3, '删除', 'OACenterSubjectDelete', '', '', '/backend/entity/delete', 0, 1726556800, 1726556800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (69, 7, 2, '关系管理', 'OACenterRelation', '/OACenter/relation', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (70, 69, 3, '新增', 'OACenterRelationCreate', '', '', '/backend/product/create', 0, 1726556800, 1726556800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (71, 69, 3, '更新', 'OACenterRelationUpdate', '', '', '/backend/product/update', 0, 1726556800, 1726556800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (72, 69, 3, '删除', 'OACenterRelationDelete', '', '', '/backend/product/delete', 0, 1726556800, 1726556800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (73, 7, 2, '游戏列表', 'OACenterGameList', '/OACenter/gameList', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (74, 7, 2, '主体列表', 'OACenterSubjectList', '/OACenter/subjectList', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (75, 73, 3, '更新', 'OACenterGameUpdate', '/OACenter/gameUpdate', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_menu`(`menu_id`, `parent_menu_id`, `menu_type`, `menu_title`, `menu_name`, `menu_path`, `menu_icon`, `menu_server_uri`, `sort_index`, `create_time`, `update_time`) VALUES (76, 74, 3, '更新', 'OACenterSubjectUpdate', '/OACenter/subjectUpdate', '', '', 0, 1726156800, 1726156800);
INSERT INTO demo.`admin_role`(`role_id`, `role_name`, `menu_ids`, `operator_uid`, `create_time`, `update_time`) VALUES (1, '系统管理员', '', 0, 1726156800, 1726284595);
INSERT INTO demo.`admin_role`(`role_id`, `role_name`, `menu_ids`, `operator_uid`, `create_time`, `update_time`) VALUES (4, '测试角色12', '3,4,9,24,25,26,27,31,35,1,2,7,8,10,11,12', 2, 1726281570, 1726635877);
INSERT INTO `demo`.`admin_user`(`uid`, `realname`, `phone`, `role_id`, `operator_uid`, `create_time`, `update_time`) VALUES (2, '高山11', '18258462564', 1, 1, 1726230756, 1726294489);
INSERT INTO `demo`.`admin_user`(`uid`, `realname`, `phone`, `role_id`, `operator_uid`, `create_time`, `update_time`) VALUES (5, '测试二', '15555555555', 4, 2, 1726285599, 1726298236);
INSERT INTO `demo`.`admin_user`(`uid`, `realname`, `phone`, `role_id`, `operator_uid`, `create_time`, `update_time`) VALUES (7, '李春雨', '15565340236', 1, 2, 1726299012, 1726299012);
INSERT INTO `demo`.`admin_user`(`uid`, `realname`, `phone`, `role_id`, `operator_uid`, `create_time`, `update_time`) VALUES (8, '测试三', '15735218221', 1, 7, 1726710652, 1726710652);
FLUSH PRIVILEGES;