mirror of
https://github.com/chillzhuang/SpringBlade.git
synced 2024-11-22 10:29:25 +08:00
358 lines
586 KiB
MySQL
358 lines
586 KiB
MySQL
|
/*
|
||
|
Navicat Premium Data Transfer
|
||
|
|
||
|
Source Server : mysql_local
|
||
|
Source Server Type : MySQL
|
||
|
Source Server Version : 50720
|
||
|
Source Host : localhost:3306
|
||
|
Source Schema : bladex
|
||
|
|
||
|
Target Server Type : MySQL
|
||
|
Target Server Version : 50720
|
||
|
File Encoding : 65001
|
||
|
|
||
|
Date: 01/24/2019 18:18:36
|
||
|
*/
|
||
|
|
||
|
SET NAMES utf8mb4;
|
||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_code
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_code`;
|
||
|
CREATE TABLE `blade_code` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`service_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务名称',
|
||
|
`code_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模块名称',
|
||
|
`table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表名',
|
||
|
`table_prefix` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '表前缀',
|
||
|
`pk_name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '主键名',
|
||
|
`package_name` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '后端包名',
|
||
|
`api_path` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '后端路径',
|
||
|
`web_path` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '前端路径',
|
||
|
`is_deleted` int(2) NULL DEFAULT 0 COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_code
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_code` VALUES (1, 'blade-demo', '通知公告', 'blade_notice', 'blade_', 'id', 'org.springblade.desktop', 'D:\\Develop\\WorkSpace\\Git\\SpringBlade\\blade-ops\\blade-develop', 'D:\\Develop\\WorkSpace\\Git\\Sword', 0);
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_dept
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_dept`;
|
||
|
CREATE TABLE `blade_dept` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`parent_id` int(11) NULL DEFAULT 0 COMMENT '父主键',
|
||
|
`dept_name` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门名',
|
||
|
`full_name` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门全程',
|
||
|
`sort` int(11) NULL DEFAULT NULL COMMENT '排序',
|
||
|
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||
|
`is_deleted` int(2) NULL DEFAULT 0 COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_dept
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_dept` VALUES (1, 0, '刀锋科技', '江苏刀锋科技有限公司', 1, NULL, 0), (2, 1, '常州刀锋', '常州刀锋科技有限公司', 1, NULL, 0), (3, 1, '苏州刀锋', '苏州刀锋科技有限公司', 1, NULL, 0);
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_dict
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_dict`;
|
||
|
CREATE TABLE `blade_dict` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`parent_id` int(11) NULL DEFAULT 0 COMMENT '父主键',
|
||
|
`code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字典码',
|
||
|
`dict_key` int(2) NULL DEFAULT NULL COMMENT '字典值',
|
||
|
`dict_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字典名称',
|
||
|
`sort` int(11) NULL DEFAULT NULL COMMENT '排序',
|
||
|
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字典备注',
|
||
|
`is_deleted` int(2) NULL DEFAULT 0 COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_dict
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_dict` VALUES (1, 0, 'sex', -1, '性别', 1, NULL, 0), (2, 1, 'sex', 1, '男', 1, NULL, 0), (3, 1, 'sex', 2, '女', 2, NULL, 0), (4, 0, 'notice', -1, '通知类型', 2, NULL, 0), (5, 4, 'notice', 1, '发布通知', 1, NULL, 0), (6, 4, 'notice', 2, '批转通知', 2, NULL, 0), (7, 4, 'notice', 3, '转发通知', 3, NULL, 0), (8, 4, 'notice', 4, '指示通知', 4, NULL, 0), (9, 4, 'notice', 5, '任免通知', 5, NULL, 0), (10, 4, 'notice', 6, '事务通知', 6, NULL, 0), (11, 0, 'menu_category', -1, '菜单类型', 3, NULL, 0), (12, 11, 'menu_category', 1, '菜单', 1, NULL, 0), (13, 11, 'menu_category', 2, '按钮', 2, NULL, 0), (14, 0, 'button_func', -1, '按钮功能', 4, NULL, 0), (15, 14, 'button_func', 1, '工具栏', 1, NULL, 0), (16, 14, 'button_func', 2, '操作栏', 2, NULL, 0), (17, 14, 'button_func', 3, '工具操作栏', 3, NULL, 0), (18, 0, 'yes_no', -1, '是否', 5, NULL, 0), (19, 18, 'yes_no', 1, '否', 1, NULL, 0), (20, 18, 'yes_no', 2, '是', 2, NULL, 0);
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_log
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_log`;
|
||
|
CREATE TABLE `blade_log` (
|
||
|
`id` bigint(64) NOT NULL COMMENT '编号',
|
||
|
`service_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务ID',
|
||
|
`server_host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务器名',
|
||
|
`server_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务器IP地址',
|
||
|
`env` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '系统环境',
|
||
|
`log_level` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志级别',
|
||
|
`log_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志业务id',
|
||
|
`log_data` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '日志数据',
|
||
|
`method` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作方式',
|
||
|
`request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请求URI',
|
||
|
`user_agent` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户代理',
|
||
|
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '操作提交的数据',
|
||
|
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
|
`create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_log_api
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_log_api`;
|
||
|
CREATE TABLE `blade_log_api` (
|
||
|
`id` bigint(64) NOT NULL COMMENT '编号',
|
||
|
`service_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务ID',
|
||
|
`server_host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务器名',
|
||
|
`server_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务器IP地址',
|
||
|
`env` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务器环境',
|
||
|
`type` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '日志类型',
|
||
|
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '日志标题',
|
||
|
`method` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作方式',
|
||
|
`request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请求URI',
|
||
|
`user_agent` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户代理',
|
||
|
`remote_ip` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作IP地址',
|
||
|
`method_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法类',
|
||
|
`method_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法名',
|
||
|
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '操作提交的数据',
|
||
|
`time` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '执行时间',
|
||
|
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
|
`create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_log_api
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_log_api` VALUES (1050577504004603905, 'blade-auth', 'WIN7-PC', '192.168.0.77:8100', 'dev', '1', '登录用户验证', 'GET', '/token', 'PostmanRuntime/7.2.0', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'account=admin&password=admin', '877', '', '2018-10-12 10:42:50'), (1050579087048257538, 'blade-auth', 'WIN7-PC', '192.168.0.77:8100', 'dev', '1', '登录用户验证', 'GET', '/token', 'PostmanRuntime/7.2.0', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'account=admin&password=admin', '19', '', '2018-10-12 10:49:07'), (1075722231725883393, 'blade-auth', 'PC-201709051821.mshome.net', '192.168.0.102:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&account=admin', '5732', NULL, '2018-12-20 19:58:58'), (1076763683293810689, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&account=admin', '1504', NULL, '2018-12-23 16:57:21'), (1076764757043822594, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&account=admin', '1601', NULL, '2018-12-23 17:01:37'), (1077566043712733185, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&account=admin', '1358', NULL, '2018-12-25 22:05:39'), (1077921991555571713, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&account=admin', '354', NULL, '2018-12-26 21:40:03'), (1078102355078438914, 'blade-auth', '192.168.0.77', '192.168.0.77:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', '0:0:0:0:0:0:0:1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&account=admin', '900', NULL, '2018-12-27 09:36:45'), (1078277648096219138, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', '127.0.0.1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&type=account&account=admin1', '1168', NULL, '2018-12-27 21:13:18'), (1078277672695812097, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', '127.0.0.1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&type=account&account=admin', '400', NULL, '2018-12-27 21:13:25'), (1078283311350337537, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', '1', '登录用户验证', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', '127.0.0.1', 'org.springblade.auth.controller.AuthController', 'token', 'password=admin&type=account&account=ad
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_log_error
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_log_error`;
|
||
|
CREATE TABLE `blade_log_error` (
|
||
|
`id` bigint(64) NOT NULL COMMENT '编号',
|
||
|
`service_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务ID',
|
||
|
`server_host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务器名',
|
||
|
`server_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务器IP地址',
|
||
|
`env` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '系统环境',
|
||
|
`method` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作方式',
|
||
|
`request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请求URI',
|
||
|
`user_agent` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户代理',
|
||
|
`stack_trace` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '堆栈',
|
||
|
`exception_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '异常名',
|
||
|
`message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '异常信息',
|
||
|
`line_number` int(11) NULL DEFAULT NULL COMMENT '错误行数',
|
||
|
`method_class` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法类',
|
||
|
`file_name` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文件名',
|
||
|
`method_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '方法名',
|
||
|
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '操作提交的数据',
|
||
|
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
|
`create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_log_error
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_log_error` VALUES (1076752037393543169, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', 'GET', '/v2/api-docs-ext', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'group=%E6%8E%88%E6%9D%83%E6%A8%A1%E5%9D%97', NULL, '2018-12-23 16:11:03'), (1076752089197391873, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', 'GET', '/v2/api-docs-ext', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2018-12-23 16:11:17'), (1076752114472267778, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', 'GET', '/v2/api-docs', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2018-12-23 16:11:23'), (1076752200791044098, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', 'GET', '/v2/api-docs-ext', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'group=%E6%8E%88%E6%9D%83%E6%A8%A1%E5%9D%97', NULL, '2018-12-23 16:11:44'), (1076752271150493698, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', 'GET', '/v2/api-docs-ext', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'group=%E6%8E%88%E6%9D%83%E6%A8%A1%E5%9D%97', NULL, '2018-12-23 16:12:01'), (1076757060299018241, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', 'com.netflix.hystrix.exception.HystrixRuntimeException: IUserClient#userInfo(String,String) failed and no fallback available.\r\n at com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:819)\r\n at com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:804)\r\n at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:140)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at com.netflix.hystrix.AbstractCommand$DeprecatedOnFallbackHookApplication$1.onError(AbstractCommand.java:1472)\r\n at com.netflix.hystrix.AbstractCommand$FallbackHookApplication$1.onError(AbstractCommand.java:1397)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at rx.observers.Subscribers$5.onError(Subscribers.java:230)\r\n at rx.internal.operators.OnSubscribeThrow.call(OnSubscribeThrow.java:44)\r\n at rx.internal.operators.OnSubscribeThrow.call(OnSubscribeThrow.java:28)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)\r\n at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeD
|
||
|
INSERT INTO `blade_log_error` VALUES (1076760874246754305, 'blade-auth', 'smallchill', '192.168.0.101:8100', 'dev', 'POST', '/token', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36', 'com.netflix.hystrix.exception.HystrixRuntimeException: IUserClient#userInfo(String,String) failed and no fallback available.\r\n at com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:819)\r\n at com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:804)\r\n at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:140)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at com.netflix.hystrix.AbstractCommand$DeprecatedOnFallbackHookApplication$1.onError(AbstractCommand.java:1472)\r\n at com.netflix.hystrix.AbstractCommand$FallbackHookApplication$1.onError(AbstractCommand.java:1397)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at rx.observers.Subscribers$5.onError(Subscribers.java:230)\r\n at rx.internal.operators.OnSubscribeThrow.call(OnSubscribeThrow.java:44)\r\n at rx.internal.operators.OnSubscribeThrow.call(OnSubscribeThrow.java:28)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:51)\r\n at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:35)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:41)\r\n at rx.internal.operators.OnSubscribeDoOnEach.call(OnSubscribeDoOnEach.java:30)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n at rx.Observable.unsafeSubscribe(Observable.java:10327)\r\n at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:142)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at com.netflix.hystrix.AbstractCommand$HystrixObservableTimeoutOperator$2.onError(AbstractCommand.java:1194)\r\n at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.onError(OperatorSubscribeOn.java:80)\r\n at rx.observers.Subscribers$5.onError(Subscribers.java:230)\r\n at rx.internal.operators.OnSubscribeDoOnEach$DoOnEachSubscriber.onError(OnSubscribeDoOnEach.java:87)\r\n at rx.observers.Subscribers$5.onError(Subscribers.java:230)\r\n at com.netflix.hystrix.AbstractCommand$DeprecatedOnRunHookApplication$1.onError(AbstractCommand.java:1431)\r\n at com.n
|
||
|
INSERT INTO `blade_log_error` VALUES (1078531575332147201, 'blade-log', '192.168.0.77', '192.168.0.77:8103', 'dev', 'GET', '/api/list', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 'org.springframework.jdbc.BadSqlGrammarException: \r\n### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column \'exception\' in \'field list\'\r\n### The error may exist in org/springblade/core/log/mapper/LogApiMapper.java (best guess)\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: SELECT id,type,title,service_id,server_ip,server_host,env,remote_ip,user_agent,request_uri,method,method_class,method_name,params,time,exception,create_by,create_time FROM blade_log_api LIMIT ?,?\r\n### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column \'exception\' in \'field list\'\n; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column \'exception\' in \'field list\'\r\n at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:234)\r\n at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)\r\n at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)\r\n at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446)\r\n at com.sun.proxy.$Proxy155.selectList(Unknown Source)\r\n at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230)\r\n at com.baomidou.mybatisplus.core.override.PageMapperMethod.executeForMany2(PageMapperMethod.java:128)\r\n at com.baomidou.mybatisplus.core.override.PageMapperMethod.execute(PageMapperMethod.java:98)\r\n at com.baomidou.mybatisplus.core.override.PageMapperProxy.invoke(PageMapperProxy.java:64)\r\n at com.sun.proxy.$Proxy156.selectPage(Unknown Source)\r\n at com.baomidou.mybatisplus.extension.service.impl.ServiceImpl.page(ServiceImpl.java:296)\r\n at com.baomidou.mybatisplus.extension.service.impl.ServiceImpl$$FastClassBySpringCGLIB$$76535273.invoke()\r\n at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\n at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)\r\n at org.springblade.core.log.service.impl.LogApiServiceImpl$$EnhancerBySpringCGLIB$$6d44933d.page()\r\n at org.springblade.core.log.controller.LogApiController.list(LogApiController.java:56)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\r\n at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)\r\n at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\r\n at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)\r\n at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)\r\n at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:981)\r\n at org.sp
|
||
|
INSERT INTO `blade_log_error` VALUES (1078534095353876481, 'blade-log', '192.168.0.77', '192.168.0.77:8103', 'dev', 'GET', '/api/list', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 'org.springframework.jdbc.BadSqlGrammarException: \r\n### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column \'exception\' in \'field list\'\r\n### The error may exist in org/springblade/core/log/mapper/LogApiMapper.java (best guess)\r\n### The error may involve defaultParameterMap\r\n### The error occurred while setting parameters\r\n### SQL: SELECT id,type,title,service_id,server_ip,server_host,env,remote_ip,user_agent,request_uri,method,method_class,method_name,params,time,exception,create_by,create_time FROM blade_log_api LIMIT ?,?\r\n### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column \'exception\' in \'field list\'\n; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column \'exception\' in \'field list\'\r\n at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:234)\r\n at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)\r\n at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)\r\n at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446)\r\n at com.sun.proxy.$Proxy155.selectList(Unknown Source)\r\n at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230)\r\n at com.baomidou.mybatisplus.core.override.PageMapperMethod.executeForMany2(PageMapperMethod.java:128)\r\n at com.baomidou.mybatisplus.core.override.PageMapperMethod.execute(PageMapperMethod.java:98)\r\n at com.baomidou.mybatisplus.core.override.PageMapperProxy.invoke(PageMapperProxy.java:64)\r\n at com.sun.proxy.$Proxy156.selectPage(Unknown Source)\r\n at com.baomidou.mybatisplus.extension.service.impl.ServiceImpl.page(ServiceImpl.java:296)\r\n at com.baomidou.mybatisplus.extension.service.impl.ServiceImpl$$FastClassBySpringCGLIB$$76535273.invoke()\r\n at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\n at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)\r\n at org.springblade.core.log.service.impl.LogApiServiceImpl$$EnhancerBySpringCGLIB$$6d44933d.page()\r\n at org.springblade.core.log.controller.LogApiController.list(LogApiController.java:56)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\r\n at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)\r\n at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\r\n at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)\r\n at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)\r\n at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:981)\r\n at org.sp
|
||
|
INSERT INTO `blade_log_error` VALUES (1078557240487972866, 'blade-log', '192.168.0.77', '192.168.0.77:8103', 'dev', 'GET', '/api/list', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 'java.lang.ClassCastException: org.springblade.core.log.vo.LogApiVo cannot be cast to org.springblade.core.log.vo.LogApiVo\r\n at org.springframework.cglib.empty.Object$$BeanCopierByCGLIB$$9179e035.copy()\r\n at org.springblade.core.tool.utils.BeanUtil.copy(BeanUtil.java:111)\r\n at org.springblade.core.log.controller.LogApiController.lambda$list$0(LogApiController.java:65)\r\n at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\n at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)\r\n at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)\r\n at org.springblade.core.log.controller.LogApiController.list(LogApiController.java:68)\r\n at org.springblade.core.log.controller.LogApiController$$FastClassBySpringCGLIB$$eb3a5658.invoke()\r\n at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\n at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\n at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\r\n at org.springblade.core.boot.logger.RequestLogAspect.aroundApi(RequestLogAspect.java:121)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)\r\n at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)\r\n at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\r\n at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)\r\n at org.springblade.core.log.controller.LogApiController$$EnhancerBySpringCGLIB$$95d53f62.list()\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\r\n at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)\r\n at org.springfr
|
||
|
INSERT INTO `blade_log_error` VALUES (1078558032351596545, 'blade-log', '192.168.0.77', '192.168.0.77:8103', 'dev', 'GET', '/api/list', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 'java.lang.ClassCastException: org.springblade.core.log.vo.LogApiVo cannot be cast to org.springblade.core.log.vo.LogApiVo\r\n at org.springframework.cglib.empty.Object$$BeanCopierByCGLIB$$9179e035.copy()\r\n at org.springblade.core.tool.utils.BeanUtil.copy(BeanUtil.java:111)\r\n at org.springblade.core.log.controller.LogApiController.lambda$list$0(LogApiController.java:65)\r\n at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\n at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)\r\n at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)\r\n at org.springblade.core.log.controller.LogApiController.list(LogApiController.java:68)\r\n at org.springblade.core.log.controller.LogApiController$$FastClassBySpringCGLIB$$eb3a5658.invoke()\r\n at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\n at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\n at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\r\n at org.springblade.core.boot.logger.RequestLogAspect.aroundApi(RequestLogAspect.java:121)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)\r\n at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)\r\n at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\r\n at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)\r\n at org.springblade.core.log.controller.LogApiController$$EnhancerBySpringCGLIB$$95d53f62.list()\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\r\n at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)\r\n at org.springfr
|
||
|
INSERT INTO `blade_log_error` VALUES (1078560702705684482, 'blade-log', '192.168.0.77', '192.168.0.77:8103', 'dev', 'GET', '/api/list', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 'java.lang.ClassCastException: org.springblade.core.log.vo.LogApiVo cannot be cast to org.springblade.core.log.vo.LogApiVo\r\n at org.springframework.cglib.empty.Object$$BeanCopierByCGLIB$$9179e035.copy()\r\n at org.springblade.core.tool.utils.BeanUtil.copy(BeanUtil.java:111)\r\n at org.springblade.core.log.controller.LogApiController.list(LogApiController.java:69)\r\n at org.springblade.core.log.controller.LogApiController$$FastClassBySpringCGLIB$$eb3a5658.invoke()\r\n at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\n at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\n at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\r\n at org.springblade.core.boot.logger.RequestLogAspect.aroundApi(RequestLogAspect.java:121)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)\r\n at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)\r\n at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\r\n at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)\r\n at org.springblade.core.log.controller.LogApiController$$EnhancerBySpringCGLIB$$87952e55.list()\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\r\n at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)\r\n at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\r\n at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)\r\n at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)\r\n at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:981)\r\n at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:873)\r\n at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)\r\n at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:858)\r\n at javax.servlet.ht
|
||
|
INSERT INTO `blade_log_error` VALUES (1078563403795402753, 'blade-log', '192.168.0.77', '192.168.0.77:8103', 'dev', 'GET', '/api/list', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36', 'java.lang.ClassCastException: org.springblade.core.log.vo.LogApiVo cannot be cast to org.springblade.core.log.vo.LogApiVo\r\n at org.springframework.cglib.empty.Object$$BladeBeanCopierByCGLIB$$9179e035.copy()\r\n at org.springblade.core.tool.utils.BeanUtil.copy(BeanUtil.java:115)\r\n at org.springblade.core.log.controller.LogApiController.lambda$list$0(LogApiController.java:75)\r\n at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\n at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)\r\n at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)\r\n at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)\r\n at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)\r\n at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)\r\n at org.springblade.core.log.controller.LogApiController.list(LogApiController.java:78)\r\n at org.springblade.core.log.controller.LogApiController$$FastClassBySpringCGLIB$$eb3a5658.invoke()\r\n at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)\r\n at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\n at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)\r\n at org.springblade.core.boot.logger.RequestLogAspect.aroundApi(RequestLogAspect.java:121)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)\r\n at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)\r\n at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)\r\n at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)\r\n at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)\r\n at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)\r\n at org.springblade.core.log.controller.LogApiController$$EnhancerBySpringCGLIB$$4bb4a0f1.list()\r\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n at java.lang.reflect.Method.invoke(Method.java:498)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)\r\n at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\r\n at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)\r\n at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)\r\n at org.spr
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_log_usual
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_log_usual`;
|
||
|
CREATE TABLE `blade_log_usual` (
|
||
|
`id` bigint(64) NOT NULL COMMENT '编号',
|
||
|
`service_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务ID',
|
||
|
`server_host` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '服务器名',
|
||
|
`server_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '服务器IP地址',
|
||
|
`env` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '系统环境',
|
||
|
`log_level` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志级别',
|
||
|
`log_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '日志业务id',
|
||
|
`log_data` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '日志数据',
|
||
|
`method` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作方式',
|
||
|
`request_uri` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请求URI',
|
||
|
`user_agent` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户代理',
|
||
|
`params` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '操作提交的数据',
|
||
|
`create_by` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者',
|
||
|
`create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_menu
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_menu`;
|
||
|
CREATE TABLE `blade_menu` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`parent_id` int(11) NULL DEFAULT 0 COMMENT '父级菜单',
|
||
|
`code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单编号',
|
||
|
`name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单名称',
|
||
|
`alias` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单别名',
|
||
|
`path` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '请求地址',
|
||
|
`source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单资源',
|
||
|
`sort` int(2) NULL DEFAULT NULL COMMENT '排序',
|
||
|
`category` int(2) NULL DEFAULT NULL COMMENT '菜单类型',
|
||
|
`action` int(2) NULL DEFAULT 0 COMMENT '操作按钮类型',
|
||
|
`is_open` int(2) NULL DEFAULT 1 COMMENT '是否打开新页面',
|
||
|
`remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||
|
`is_deleted` int(2) NULL DEFAULT 0 COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 56 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_menu
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_menu` VALUES (1, 0, 'desk', '工作台', 'menu', '/desk', 'desktop', 1, 1, 0, 1, NULL, 0), (2, 1, 'notice', '通知公告', 'menu', '/desk/notice', NULL, 1, 1, 0, 1, NULL, 0), (3, 0, 'system', '系统管理', 'menu', '/system', 'setting', 2, 1, 0, 1, NULL, 0), (4, 3, 'user', '用户管理', 'menu', '/system/user', NULL, 1, 1, 0, 1, NULL, 0), (5, 3, 'dept', '部门管理', 'menu', '/system/dept', NULL, 2, 1, 0, 1, NULL, 0), (6, 3, 'dict', '字典管理', 'menu', '/system/dict', NULL, 3, 1, 0, 1, NULL, 0), (7, 3, 'menu', '菜单管理', 'menu', '/system/menu', NULL, 4, 1, 0, 1, NULL, 0), (8, 3, 'role', '角色管理', 'menu', '/system/role', NULL, 5, 1, 0, 1, NULL, 0), (9, 3, 'param', '参数管理', 'menu', '/system/param', NULL, 6, 1, 0, 1, NULL, 0), (10, 0, 'monitor', '系统监控', 'menu', '/monitor', 'fund', 3, 1, 0, 1, NULL, 0), (11, 10, 'doc', '接口文档', 'menu', 'http://localhost/doc.html', NULL, 1, 1, 0, 2, NULL, 0), (12, 10, 'admin', '服务治理', 'menu', 'http://localhost:7002', NULL, 2, 1, 0, 2, NULL, 0), (13, 10, 'log', '日志管理', 'menu', '/monitor/log', NULL, 3, 1, 0, 1, NULL, 0), (14, 13, 'log_usual', '通用日志', 'menu', '/monitor/log/usual', NULL, 1, 1, 0, 1, NULL, 0), (15, 13, 'log_api', '接口日志', 'menu', '/monitor/log/api', NULL, 2, 1, 0, 1, NULL, 0), (16, 13, 'log_error', '错误日志', 'menu', '/monitor/log/error', NULL, 3, 1, 0, 1, NULL, 0), (17, 0, 'tool', '研发工具', 'menu', '/tool', 'tool', 4, 1, 0, 1, NULL, 0), (18, 17, 'code', '代码生成', 'menu', '/tool/code', NULL, 1, 1, 0, 1, NULL, 0), (19, 2, 'notice_add', '新增', 'add', '/desk/notice/add', 'plus', 1, 2, 1, 1, NULL, 0), (20, 2, 'notice_edit', '修改', 'edit', '/desk/notice/edit', 'form', 2, 2, 2, 1, NULL, 0), (21, 2, 'notice_delete', '删除', 'delete', '/api/blade-desk/notice/remove', 'delete', 3, 2, 3, 1, NULL, 0), (22, 2, 'notice_view', '查看', 'view', '/desk/notice/view', 'file-text', 4, 2, 2, 1, NULL, 0), (23, 4, 'user_add', '新增', 'add', '/system/user/add', 'plus', 1, 2, 1, 1, NULL, 0), (24, 4, 'user_edit', '修改', 'edit', '/system/user/edit', 'form', 2, 2, 2, 1, NULL, 0), (25, 4, 'user_delete', '删除', 'delete', '/api/blade-user/remove', 'delete', 3, 2, 3, 1, NULL, 0), (26, 4, 'user_role', '角色配置', 'role', NULL, 'user-add', 4, 2, 1, 1, NULL, 0), (27, 4, 'user_reset', '密码重置', 'reset-password', '/api/blade-user/reset-password', 'retweet', 5, 2, 1, 1, NULL, 0), (28, 4, 'user_view', '查看', 'view', '/system/user/view', 'file-text', 6, 2, 2, 1, NULL, 0), (29, 5, 'dept_add', '新增', 'add', '/system/dept/add', 'plus', 1, 2, 1, 1, NULL, 0), (30, 5, 'dept_edit', '修改', 'edit', '/system/dept/edit', 'form', 2, 2, 2, 1, NULL, 0), (31, 5, 'dept_delete', '删除', 'delete', '/api/blade-system/dept/remove', 'delete', 3, 2, 3, 1, NULL, 0), (32, 5, 'dept_view', '查看', 'view', '/system/dept/view', 'file-text', 4, 2, 2, 1, NULL, 0), (33, 6, 'dict_add', '新增', 'add', '/system/dict/add', 'plus', 1, 2, 1, 1, NULL, 0), (34, 6, 'dict_edit', '修改', 'edit', '/system/dict/edit', 'form', 2, 2, 2, 1, NULL, 0), (35, 6, 'dict_delete', '删除', 'delete', '/api/blade-system/dict/remove', 'delete', 3, 2, 3, 1, NULL, 0), (36, 6, 'dict_view', '查看', 'view', '/system/dict/view', 'file-text', 4, 2, 2, 1, NULL, 0), (37, 7, 'menu_add', '新增', 'add', '/system/menu/add', 'plus', 1, 2, 1, 1, NULL, 0), (38, 7, 'menu_edit', '修改', 'edit', '/system/menu/edit', 'form', 2, 2, 2, 1, NULL, 0), (39, 7, 'menu_delete', '删除', 'delete', '/api/blade-system/menu/remove', 'delete', 3, 2, 3, 1, NULL, 0), (40, 7, 'menu_view', '查看', 'view', '/system/menu/view', 'file-text', 4, 2, 2, 1, NULL, 0), (41, 8, 'role_add', '新增', 'add', '/system/role/add', 'plus', 1, 2, 1, 1, NULL, 0), (42, 8, 'role_edit', '修改', 'edit', '/system/role/edit', 'form', 2, 2, 2, 1, NULL, 0), (43, 8, 'role_delete', '删除', 'delete', '/api/blade-system/role/remove', 'delete', 3, 2, 3, 1, NULL, 0), (44, 8, 'role_view', '查看', 'view', '/system/role/view', 'file-text', 4, 2, 2, 1, NULL, 0), (45, 9, 'param_add'
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_notice
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_notice`;
|
||
|
CREATE TABLE `blade_notice` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标题',
|
||
|
`category` int(11) NULL DEFAULT NULL COMMENT '类型',
|
||
|
`date` datetime(0) NULL DEFAULT NULL COMMENT '发布时间',
|
||
|
`content` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '内容',
|
||
|
`create_user` int(11) NULL DEFAULT NULL COMMENT '创建人',
|
||
|
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
||
|
`update_user` int(11) NULL DEFAULT NULL COMMENT '修改人',
|
||
|
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
|
||
|
`status` int(2) NULL DEFAULT NULL COMMENT '状态',
|
||
|
`is_deleted` int(2) NULL DEFAULT NULL COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_notice
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_notice` VALUES (23, '121212', 3, '2018-12-31 20:03:31', '222', 1, '2018-12-05 20:03:31', 1, '2018-12-28 11:10:51', 1, 0), (24, '1212222222222222', 1, '2018-12-05 20:03:31', '333', 1, '2018-12-28 10:32:26', 1, '2018-12-28 11:10:34', 1, 0), (25, '标题测试111', 6, '2018-12-29 00:00:00', '11111', 1, '2018-12-28 11:03:44', 1, '2018-12-28 11:10:28', 1, 0);
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_param
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_param`;
|
||
|
CREATE TABLE `blade_param` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`param_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数名',
|
||
|
`param_key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数键',
|
||
|
`param_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '参数值',
|
||
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
|
||
|
`create_user` int(11) NULL DEFAULT NULL COMMENT '创建人',
|
||
|
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
||
|
`update_user` int(11) NULL DEFAULT NULL COMMENT '修改人',
|
||
|
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
|
||
|
`status` int(2) NULL DEFAULT NULL COMMENT '状态',
|
||
|
`is_deleted` int(2) NULL DEFAULT 0 COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_param
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_param` VALUES (1, '是否开启注册功能', 'account.registerUser', 'true', '开启注册', 1, '2018-12-28 12:19:01', 1, '2018-12-28 12:19:01', 1, 0), (2, '账号初始密码', 'account.initPassword', '123456', '初始密码', 1, '2018-12-28 12:19:01', 1, '2018-12-28 12:19:01', 1, 0);
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_role
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_role`;
|
||
|
CREATE TABLE `blade_role` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`parent_id` int(11) NULL DEFAULT 0 COMMENT '父主键',
|
||
|
`role_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '角色名',
|
||
|
`sort` int(11) NULL DEFAULT NULL COMMENT '排序',
|
||
|
`role_alias` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '角色别名',
|
||
|
`is_deleted` int(2) NULL DEFAULT 0 COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_role
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_role` VALUES (1, 0, '超级管理员', 1, 'admin', 0);
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_role_menu
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_role_menu`;
|
||
|
CREATE TABLE `blade_role_menu` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`menu_id` int(11) NULL DEFAULT NULL COMMENT '菜单id',
|
||
|
`role_id` int(11) NULL DEFAULT NULL COMMENT '角色id',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 60 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_role_menu
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_role_menu` VALUES (1, 1, 1), (2, 2, 1), (3, 3, 1), (4, 4, 1), (5, 5, 1), (6, 6, 1), (7, 7, 1), (8, 8, 1), (9, 9, 1), (10, 10, 1), (11, 11, 1), (12, 12, 1), (13, 13, 1), (14, 14, 1), (15, 15, 1), (16, 16, 1), (17, 17, 1), (18, 18, 1), (19, 19, 1), (20, 20, 1), (21, 21, 1), (22, 22, 1), (23, 23, 1), (24, 24, 1), (25, 25, 1), (26, 26, 1), (27, 27, 1), (28, 28, 1), (29, 29, 1), (30, 30, 1), (31, 31, 1), (32, 32, 1), (33, 33, 1), (34, 34, 1), (35, 35, 1), (36, 36, 1), (37, 37, 1), (38, 38, 1), (39, 39, 1), (40, 40, 1), (41, 41, 1), (42, 42, 1), (43, 43, 1), (44, 44, 1), (45, 45, 1), (46, 46, 1), (47, 47, 1), (48, 48, 1), (49, 49, 1), (50, 50, 1), (51, 51, 1), (52, 52, 1), (53, 53, 1), (54, 54, 1), (55, 55, 1), (56, 56, 1), (57, 57, 1), (58, 58, 1), (59, 59, 1);
|
||
|
COMMIT;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for blade_user
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `blade_user`;
|
||
|
CREATE TABLE `blade_user` (
|
||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
|
`account` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '账号',
|
||
|
`password` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码',
|
||
|
`name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '昵称',
|
||
|
`real_name` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '真名',
|
||
|
`email` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
|
||
|
`phone` varchar(45) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机',
|
||
|
`birthday` datetime(0) NULL DEFAULT NULL COMMENT '生日',
|
||
|
`sex` smallint(6) NULL DEFAULT NULL COMMENT '性别',
|
||
|
`role_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '角色id',
|
||
|
`dept_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门id',
|
||
|
`create_user` int(11) NULL DEFAULT NULL COMMENT '创建人',
|
||
|
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
|
||
|
`update_user` int(11) NULL DEFAULT NULL COMMENT '修改人',
|
||
|
`update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
|
||
|
`status` int(2) NULL DEFAULT NULL COMMENT '状态',
|
||
|
`is_deleted` int(2) NULL DEFAULT 0 COMMENT '是否已删除',
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of blade_user
|
||
|
-- ----------------------------
|
||
|
BEGIN;
|
||
|
INSERT INTO `blade_user` VALUES (1, 'admin', '90b9aa7e25f80cf4f64e990b78a9fc5ebd6cecad', '管理员', '管理员', 'admin@ronrisoft.com.cn', '22233322', '2015-09-08 00:00:00', 1, '1', '1', 1, '2018-05-01 10:47:12', 1, '2018-05-01 10:47:18', 1, 0);
|
||
|
COMMIT;
|
||
|
|
||
|
SET FOREIGN_KEY_CHECKS = 1;
|