use `log-platform`;

-- ----------------------------
-- 访问日志菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '访问日志', '/access/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 访问日志资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '访问日志-菜单管理-查看', '/access/log/list,/access/log/view,/access/log/info,/access/log/export,/access/log/exportExcel,/access/log/downloadTemplate,/access/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '访问日志-菜单管理-维护', '/access/log/add,/access/log/edit,/access/log/delete,/access/log/logicDelete,/access/log/save,/access/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 访问日志参数 SQL
-- ----------------------------
-- ----------------------------
-- 业务日志菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '业务日志', '/biz/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 业务日志资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '业务日志-菜单管理-查看', '/biz/log/list,/biz/log/view,/biz/log/info,/biz/log/export,/biz/log/exportExcel,/biz/log/downloadTemplate,/biz/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '业务日志-菜单管理-维护', '/biz/log/add,/biz/log/edit,/biz/log/delete,/biz/log/logicDelete,/biz/log/save,/biz/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 业务日志参数 SQL
-- ----------------------------
-- ----------------------------
-- 异常日志菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '异常日志', '/error/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 异常日志资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '异常日志-菜单管理-查看', '/error/log/list,/error/log/view,/error/log/info,/error/log/export,/error/log/exportExcel,/error/log/downloadTemplate,/error/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '异常日志-菜单管理-维护', '/error/log/add,/error/log/edit,/error/log/delete,/error/log/logicDelete,/error/log/save,/error/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 异常日志参数 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'java', 'java', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'php', 'php', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'c#', 'c#', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'android', 'android', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'vue', 'vue', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'webos', 'webos', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'ios', 'ios', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '当前客户端使用平台', 'ErrorLog', 'platform', 'python', 'python', 1, 4, 0, 'platform', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'FATAL', 'FATAL', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'ERROR', 'ERROR', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'WARNING', 'WARNING', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'INFO', 'INFO', 1, 4, 0, 'level', NULL, NULL, NULL);
INSERT INTO `mortals_xhx_param` VALUES (null, '等级', 'ErrorLog', 'level', 'DEBUG', 'DEBUG', 1, 4, 0, 'level', NULL, NULL, NULL);

-- ----------------------------
-- 平台用户操作日志业务菜单 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_menu` VALUES (null, '平台用户操作日志业务', '/operate/log/list', 0, 1, 1, 0, 0,'',NULL, NULL, NULL, 0, 0, 1, NULL, NULL, NULL);

-- ----------------------------
-- 平台用户操作日志业务资源路径 SQL
-- ----------------------------
INSERT INTO `mortals_xhx_resource` VALUES (null, '平台用户操作日志业务-菜单管理-查看', '/operate/log/list,/operate/log/view,/operate/log/info,/operate/log/export,/operate/log/exportExcel,/operate/log/downloadTemplate,/operate/log/download', 3, 0, NULL, NULL, NULL, 0);
INSERT INTO `mortals_xhx_resource` VALUES (null, '平台用户操作日志业务-菜单管理-维护', '/operate/log/add,/operate/log/edit,/operate/log/delete,/operate/log/logicDelete,/operate/log/save,/operate/log/importData', 3, 0, NULL, NULL, NULL, 0);

-- ----------------------------
-- 平台用户操作日志业务参数 SQL
-- ----------------------------
