-- base目录下为所有基础数据初始化sql不带演示数据

-- 初始化平台用户账号
INSERT INTO `cere_platform_user` (`platform_user_id`, `username`, `name`, `sex`, `phone`, `password`, `email`, `token`, `state`, `create_time`, `update_time`) VALUES ('1', 'admin', '超级管理员', '男', '12345678910', 'CNJmcGxnwmM=', '123@qq.com', '25688849050275230525326913686821', '1', '2020-11-12 11:21:00', '2020-12-26 23:25:01');
INSERT INTO `cere_platform_user` (`platform_user_id`, `username`, `name`, `sex`, `phone`, `password`, `email`, `token`, `state`, `create_time`, `update_time`) VALUES ('2', 'root', '大权限账号', '男', '1234567890', 'amDynN99k3DzqzcCGTmSjA==', '', '35368864234512913471179324934188357173919124784696669117597844778111851437381581271814584828771547753971216121288583925785975317', '1', '2020-12-23 19:10:56', '2021-01-14 00:18:48');

-- 初始化平台角色
INSERT INTO `cere_platform_role` (`role_id`, `role_name`, `role_describe`, `project`, `create_time`, `update_time`) VALUES ('1', '管理员', '这就是管理员 恐怖如斯', '1', '', '2021-01-04 12:43:23');
INSERT INTO `cere_platform_role` (`role_id`, `role_name`, `role_describe`, `project`, `create_time`, `update_time`) VALUES ('2', '业务人员', '区区业务 不足为道', '1', '', '2020-11-22 22:48:12');

-- 初始化用户角色数据
INSERT INTO `cere_platform_user_role` (`platform_user_id`, `role_id`) VALUES ('1', '1');
INSERT INTO `cere_platform_user_role` (`platform_user_id`, `role_id`) VALUES ('2', '1');

-- 初始化菜单权限数据
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('1', '0', '系统管理', '', 'system', 'el-icon-setting', '目录菜单', 'catalog', '1', '1', '2020-11-12 11:44:56', '2020-11-23 14:51:39');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('2', '1', '字典管理', '', '/setup/dict', 'el-icon-place', '字典菜单', 'menu', '2', '1', '2020-11-12 12:44:56', '2020-11-23 14:49:08');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('3', '1', '角色管理', '', '/setup/role', 'el-icon-warning-outline', '角色菜单', 'menu', '3', '1', '2020-11-12 13:44:56', '2020-11-23 14:49:27');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('4', '1', '菜单管理', '', '/setup/tabs', 'el-icon-location-outline', '菜单', 'menu', '4', '1', '2020-11-12 15:44:56', '2020-12-07 17:28:09');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('5', '1', '用户管理', '', '/setup/user', 'el-icon-zoom-in', '用户菜单', 'menu', '5', '1', '2020-11-12 16:44:56', '2020-11-23 14:50:04');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('6', '2', '新增', '', 'save', '', '新增按钮', 'button', '6', '1', '2020-11-12 17:44:56', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('7', '2', '修改', '', 'update', '', '修改按钮', 'button', '7', '1', '2020-11-12 14:45:08', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('8', '2', '删除', '', 'delete', '', '删除按钮', 'button', '8', '1', '2020-11-12 14:46:05', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('9', '4', '新增父级菜单', '', 'save', 'el-icon-eleme', '新增按钮', 'button', '9', '1', '2020-11-12 16:43:44', '2020-12-07 14:50:16');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('10', '4', '新增子级菜单', '', 'update', 'el-icon-minus', '修改按钮', 'button', '10', '1', '2020-11-12 16:43:56', '2020-12-07 14:50:39');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('11', '4', '新增子级按钮', '', 'delete', 'el-icon-download', '删除按钮', 'button', '11', '1', '2020-11-12 16:44:07', '2020-12-07 14:50:54');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('17', '0', '客户管理', '', 'customer', 'el-icon-user', '客户', 'menu', '17', '1', '2020-11-24 09:16:30', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('18', '0', '客户管理', '', 'customer', 'el-icon-user', '客户', 'catalog', '18', '1', '2020-11-24 09:19:40', '2021-03-11 22:21:58');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('19', '0', '客户管理', '', 'sensitive', 'el-icon-finished', '客户管理', 'menu', '19', '1', '2020-11-24 09:31:27', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('20', '0', '231', '', '213', 'el-icon-suitcase-1', '321', 'menu', '20', '1', '2020-11-24 09:35:17', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('21', '18', '客户管理', '', '/customer/customerMage', 'el-icon-help', '啥', 'menu', '21', '1', '2020-11-24 09:41:37', '2020-12-07 17:50:40');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('22', '18', '标签管理', '', '/customer/tips', 'el-icon-document-remove', '标签', 'menu', '22', '1', '2020-11-24 09:42:23', '2020-12-07 17:51:06');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('23', '0', '评论', '', 'comment', 'el-icon-edit', '评论', 'menu', '23', '1', '2020-11-24 09:44:58', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('24', '0', '评论', '', 'comment', 'el-icon-edit-outline', '评论', 'catalog', '24', '1', '2020-11-24 09:45:29', '2021-03-11 22:21:48');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('25', '24', '敏感词管理', '', '/comment/sensitive', 'el-icon-magic-stick', '敏感词', 'menu', '25', '1', '2020-11-24 09:46:18', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('26', '24', '评论管理', '', '/comment/commentSys', 'el-icon-chat-dot-round', '搜索', 'menu', '26', '1', '2020-11-24 09:46:47', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('27', '2', '添加', '', '1', 'el-icon-plus', '', 'button', '27', '1', '2020-12-07 01:32:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('28', '0', '评论', '', 'comment', 'el-icon-thumb', '这是评论', 'menu', '28', '1', '2020-12-07 14:21:46', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('29', '0', '售后处理', '', 'comment/sensitive', 'el-icon-headset', '售后', 'menu', '29', '1', '2020-12-07 14:23:51', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('30', '0', '售后处理', '', '/order/after', 'el-icon-umbrella', '售后处理', 'catalog', '30', '1', '2020-12-07 14:25:02', '2020-12-07 17:51:44');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('32', '0', '平台活动', '', 'active', 'el-icon-monitor', '', 'menu', '32', '1', '2020-12-07 14:27:29', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('33', '0', '平台活动', '', '/active', 'el-icon-house', '', 'catalog', '33', '1', '2020-12-07 14:28:02', '2020-12-07 17:52:02');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('34', '0', '运营管理', '', 'renovation', 'el-icon-tickets', '', 'catalog', '34', '1', '2020-12-07 14:29:02', '2020-12-07 14:29:12');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('37', '34', '商品类别', '', '/renovation/commdityClass', 'el-icon-film', '', 'menu', '37', '1', '2020-12-07 14:31:55', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('38', '0', '商家管理', '', 'businessList', 'el-icon-notebook-2', '', 'catalog', '38', '1', '2020-12-07 14:33:23', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('39', '38', '商家列表', '', '/businessList', 'el-icon-set-up', '', 'menu', '39', '1', '2020-12-07 14:33:56', '2020-12-07 17:52:41');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('40', '38', '入驻申请', '', '/settlement', 'el-icon-mobile', '1', 'menu', '40', '1', '2020-12-07 14:49:00', '2020-12-07 17:52:48');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('42', '39', '新增商家', '', 'add', 'el-icon-minus', '', 'button', '42', '1', '2020-12-07 14:56:09', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('44', '37', '添加一级类别', '', 'add', 'el-icon-minus', '', 'button', '44', '1', '2020-12-07 14:58:01', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('45', '33', '新建活动', '', 'add', 'el-icon-minus', '', 'button', '45', '1', '2020-12-07 15:04:40', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('46', '22', '新建标签', '', 'add', 'el-icon-minus', '', 'button', '46', '1', '2020-12-07 15:06:05', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('47', '22', '导出标签', '', 'excel', 'el-icon-minus', '', 'button', '47', '1', '2020-12-07 15:06:28', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('48', '24', '关键词管理', '', '/comment/keyWord', 'el-icon-help', '', 'menu', '48', '1', '2020-12-08 20:18:02', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('49', '0', 'Redis延时任务', '', '/pay', 'el-icon-zoom-in', '', 'catalog', '49', '1', '2020-12-08 22:42:18', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('74', '0', '财务', '', '/finance', 'el-icon-receiving', '', 'catalog', '74', '1', '2020-12-17 21:47:27', '2020-12-17 21:52:30');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('75', '74', '提现申请', '', '/finance/withdrawal', 'el-icon-mobile', '', 'menu', '75', '1', '2020-12-17 21:53:16', '2020-12-17 21:53:33');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('76', '74', '财务概况', '', '/finance/overview', 'el-icon-stopwatch', '', 'menu', '76', '1', '2020-12-17 21:59:24', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('77', '74', '保证金', '', '/finance/bond', 'el-icon-attract', '', 'menu', '77', '1', '2020-12-17 22:40:44', '2020-12-17 22:41:56');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('78', '74', '用户提现申请', NULL, '/finance/application', 'el-icon-bank-card', NULL, 'menu', '78', '1', '2020-12-17 22:40:45', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('95', '1', '商家菜单', '', '/setup/businessMenus', 'el-icon-takeaway-box', '管理商家菜单', 'menu', '880', '1', '2021-03-26 23:15:19', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('96', '0', '终端装修', '', 'https://ceres.zkthink.com/admin-web/canvas.html', 'el-icon-goods', '页面装修', 'catalog', '496', '1', '2021-01-13 23:37:04', '2021-05-20 17:32:27');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('97', '0', '消息中心', '', 'notice', 'el-icon-chat-square', '消息中心', 'catalog', '578', '1', '2021-03-11 21:24:32', '2021-03-11 22:22:27');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('98', '97', '历史消息', '', '/notice/history', 'el-icon-chat-dot-square', '历史消息', 'menu', '579', '1', '2021-03-11 21:25:43', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('99', '97', '消息推送', '', '/notice/push', 'el-icon-chat-line-square', '消息推送', 'menu', '580', '1', '2021-03-11 21:26:21', NULL);

INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('51', '0', '概括', '', '/dashboard', 'el-icon-pie-chart', '', 'catalog', '51', '0', '2020-12-16 20:19:50', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('52', '0', '订单', '', '/order', 'el-icon-tickets', '', 'catalog', '52', '0', '2020-12-16 20:22:55', '2020-12-16 21:16:56');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('53', '52', '待处理订单', '', '/order/pending', 'el-icon-alarm-clock', '', 'menu', '53', '0', '2020-12-16 20:23:44', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('54', '52', '售后订单', '', '/order/aftersale', 'el-icon-truck', '', 'menu', '54', '0', '2020-12-16 20:24:02', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('55', '0', '商品', '', 'commodity', 'el-icon-present', '', 'catalog', '55', '0', '2020-12-16 20:24:42', '2020-12-16 21:16:18');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('56', '55', '商品管理', '', '/commodity/commoditySystem', 'el-icon-crop', '', 'menu', '56', '0', '2020-12-16 20:25:05', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('57', '55', '商品分组', '', '/commodity/commodityList', 'el-icon-set-up', '', 'menu', '57', '0', '2020-12-16 20:25:49', '2020-12-16 20:25:55');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('58', '0', '店铺', '', '/shop', 'el-icon-data-board', '', 'catalog', '58', '0', '2020-12-16 20:26:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('59', '58', '店铺装修', '', 'https://ceres.zkthink.com/merchant-web/canvas.html', 'el-icon-thumb', '', 'menu', '59', '0', '2020-12-16 20:27:05', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('60', '58', '素材管理', '', '/shop/material', 'el-icon-data-analysis', '', 'menu', '60', '0', '2020-12-16 20:27:38', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('61', '0', '设置', '', '/system', 'el-icon-setting', '', 'catalog', '61', '0', '2020-12-16 20:28:44', '2020-12-16 21:16:32');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('62', '61', '店铺设置', '', '/system/shopSys', 'el-icon-monitor', '', 'menu', '62', '0', '2020-12-16 20:29:19', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('63', '61', '物流设置', '', '/system/logistics', 'el-icon-truck', '', 'menu', '63', '0', '2020-12-16 20:29:44', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('64', '0', '财务', '', '/finance', 'el-icon-shopping-bag-1', '', 'catalog', '64', '0', '2020-12-16 20:30:17', '2020-12-16 21:16:37');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('65', '64', '财务明细', '', '/finance/index', 'el-icon-notebook-2', '', 'menu', '65', '0', '2020-12-16 20:30:33', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('66', '64', '收款账户', '', '/finance/accountIndex', 'el-icon-files', '', 'menu', '66', '0', '2020-12-16 20:30:53', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('67', '0', '分销员', '', '/Distributor/DistributorIndex', 'el-icon-help', '', 'catalog', '67', '0', '2020-12-16 20:31:31', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('68', '0', '平台活动', '', '/active/active', 'el-icon-finished', '', 'catalog', '68', '0', '2020-12-16 20:31:55', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('69', '0', '系统管理', '', '/setup', 'el-icon-cpu', '', 'catalog', '69', '0', '2020-12-16 20:32:27', '2020-12-16 21:16:46');
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('70', '69', '用户管理', '', '/setup/user', 'el-icon-user', '', 'menu', '70', '0', '2020-12-16 20:32:51', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('71', '69', '角色管理', '', '/setup/role', 'el-icon-document-add', '', 'menu', '71', '0', '2020-12-16 20:33:16', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('72', '69', '菜单管理', '', '/setup/tabs', 'el-icon-tickets', '', 'menu', '72', '0', '2020-12-16 20:33:36', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('73', '64', '保证金', '', '/finance/bond', 'el-icon-check', '', 'menu', '73', '0', '2020-12-16 22:26:08', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('79', '56', '批量导入', '', 'l', 'el-icon-minus', '', 'button', '79', '0', '2020-12-18 00:28:06', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('80', '56', '新增商品', '', 's', 'el-icon-minus', '', 'button', '80', '0', '2020-12-18 00:28:34', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('81', '57', '新增分组', '', 'add', 'el-icon-minus', '', 'button', '81', '0', '2020-12-18 00:29:28', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('82', '60', '新增标签', '', 'add', 'el-icon-minus', '', 'button', '82', '0', '2020-12-18 00:30:06', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('83', '60', '上传', '', 'upload', 'el-icon-minus', '', 'button', '83', '0', '2020-12-18 00:30:29', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('84', '63', '新建方案', '', 'add', 'el-icon-minus', '', 'button', '84', '0', '2020-12-18 00:30:58', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('85', '0', '营销活动', NULL, '/marketing', 'el-icon-stopwatch', NULL, 'catalog', '707', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('86', '85', '优惠券管理', NULL, '/marketing/coupon', 'el-icon-s-goods', NULL, 'menu', '708', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('87', '85', '拼团', NULL, '/marketing/groupBuy', 'el-icon-suitcase-1', NULL, 'menu', '709', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('88', '85', '秒杀', NULL, '/marketing/spike', 'el-icon-alarm-clock', NULL, 'menu', '710', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('89', '85', '限时折扣', NULL, '/marketing/discount', 'el-icon-alarm-clock', NULL, 'menu', '711', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('90', '0', '客户管理', NULL, '/customer', 'el-icon-user', NULL, 'catalog', '712', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('91', '90', '客户列表', NULL, '/customer/customerList', 'el-icon-user', NULL, 'menu', '713', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('92', '90', '标签列表', NULL, '/customer/tagList', 'el-icon-collection-tag', NULL, 'menu', '714', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('93', '90', '客户分群', NULL, '/customer/clusteringList', 'el-icon-connection', NULL, 'menu', '715', '0', '2021-03-21 15:47:37', NULL);
INSERT INTO `cere_platform_permission` (`permission_id`, `permission_pid`, `permission_name`, `permission_uri`, `permission`, `icon`, `describe`, `resource_type`, `sort`, `project`, `create_time`, `update_time`) VALUES ('94', '90', '运营计划', '', '/customer/operate', 'el-icon-bank-card', '', 'menu', '747', '0', '2021-03-18 18:31:30', NULL);


-- 初始化权限关联角色数据
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '1');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '2');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '3');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '4');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '5');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '6');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '7');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '8');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '9');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '10');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '11');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '17');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '18');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '19');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '20');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '21');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '22');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '23');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '24');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '25');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '26');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '27');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '28');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '29');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '30');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '32');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '33');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '34');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '37');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '38');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '39');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '40');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '42');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '44');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '45');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '46');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '47');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '48');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '49');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '74');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '75');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '76');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '77');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '78');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '95');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '96');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '97');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '98');
INSERT INTO `cere_platform_role_permission` (`role_id`, `permission_id`) VALUES ('1', '99');

-- 初始化物流策略
INSERT INTO `cere_platform_express` (`platform_user_id`, `express_type`, `update_time`) VALUES ('1', '1', NULL);
