/*
Navicat MySQL Data Transfer
Source Server : localhost_3306
Source Server Version : 50717
Source Host : localhost:3306
Source Database : mooc
Target Server Type : MYSQL
Target Server Version : 50717
File Encoding : 65001
Date: 2018-06-29 08:40:20
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for admin
-- ----------------------------
DROP TABLE IF EXISTS `admin`;
CREATE TABLE `admin` (
`id` int(6) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of admin
-- ----------------------------
INSERT INTO `admin` VALUES ('1', 'a', 'E10ADC3949BA59ABBE56E057F20F883E');
INSERT INTO `admin` VALUES ('2', 'aa', 'E10ADC3949BA59ABBE56E057F20F883E');
INSERT INTO `admin` VALUES ('3', 'aaa', 'E10ADC3949BA59ABBE56E057F20F883E');
INSERT INTO `admin` VALUES ('12', 'aaaaa', 'E10ADC3949BA59ABBE56E057F20F883E');
-- ----------------------------
-- Table structure for advert
-- ----------------------------
DROP TABLE IF EXISTS `advert`;
CREATE TABLE `advert` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ad_img` varchar(200) NOT NULL,
`name` varchar(100) DEFAULT NULL,
`url` varchar(100) DEFAULT NULL,
`placeID` int(11) NOT NULL,
`content` varchar(100) DEFAULT NULL,
`content2` varchar(100) DEFAULT NULL,
`targetID` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of advert
-- ----------------------------
INSERT INTO `advert` VALUES ('27', 'img/0f637ffd4ff248b8802ba29c95f65ade.png', 'Java', '/mooc/before/home', '1', '', null, null);
INSERT INTO `advert` VALUES ('28', 'img/e9ae194b3b3748859098ffe9429c32a9.jpeg', 'C#', '/mooc/before/home', '1', '', null, null);
INSERT INTO `advert` VALUES ('29', 'img/3b7419eed9e14f109ab2a726695d3e5b.jpeg', 'Html', '/mooc/before/home', '1', 'asdg', null, null);
INSERT INTO `advert` VALUES ('30', 'img/8c1c9d7315ac40e48208939f15530ce8.jpeg', 'Java', '/mooc/before/home', '1', '阿尔aSF', null, null);
INSERT INTO `advert` VALUES ('31', 'img/ea3296b815d54e8bae62c8f0f6661781.png', 'C#', '/mooc/before/home', '1', '肺癌是规范', null, null);
-- ----------------------------
-- Table structure for cart
-- ----------------------------
DROP TABLE IF EXISTS `cart`;
CREATE TABLE `cart` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL COMMENT '用户id',
`course_id` int(11) NOT NULL COMMENT '课程id',
`courseName` varchar(200) NOT NULL,
`price` decimal(10,0) NOT NULL COMMENT '价格',
`course_image` varchar(200) DEFAULT NULL COMMENT '课程图片',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=96 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of cart
-- ----------------------------
INSERT INTO `cart` VALUES ('89', '115', '85', 'Python', '120', 'img/60f53bd4d04e4ee8b500c9f5684af755.png');
INSERT INTO `cart` VALUES ('91', '117', '83', 'HTML', '0', 'img/cac629a06464431b8c2b9d53d4afbbe5.jpeg');
-- ----------------------------
-- Table structure for chapter_table
-- ----------------------------
DROP TABLE IF EXISTS `chapter_table`;
CREATE TABLE `chapter_table` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`course_id` int(10) DEFAULT NULL COMMENT '课程ID',
`chapterid` int(11) DEFAULT NULL COMMENT '章节id',
`videourl` varchar(200) DEFAULT NULL COMMENT '章节播放地址',
`chaptername` varchar(200) DEFAULT NULL COMMENT '章节名称',
`chapterdesc` varchar(500) DEFAULT NULL COMMENT '章节简介',
`videoimg` varchar(255) DEFAULT NULL,
`audit_state` int(11) DEFAULT '9' COMMENT '审核状态',
`audit_time` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`audit_idea` varchar(200) DEFAULT NULL COMMENT '审核意见',
`edit_time` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=104 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of chapter_table
-- ----------------------------
INSERT INTO `chapter_table` VALUES ('96', '90', null, '/video/201806261142291081530027749621.Ogg', 'SpringBoot开发理财产品系统的分析', null, 'img/videoPag.png', '15', '2018-06-27 19:38:01', 'ok', null);
INSERT INTO `chapter_table` VALUES ('97', '90', null, '/video/201806261148583241530028138605.Ogg', 'SpringBoot开发理财产品系统的数据库设计', null, 'img/videoPag.png', '15', '2018-06-27 19:37:57', 'ok', null);
INSERT INTO `chapter_table` VALUES ('98', '91', null, '/video/201806261154109341530028450402.Ogg', '什么是分布式事务实践?', null, 'img/videoPag.png', '15', '2018-06-27 18:50:04', 'ok', null);
INSERT INTO `chapter_table` VALUES ('99', '92', null, '/video/201806271212462551530029566918.Ogg', '什么是数据结构?', null, 'img/videoPag.png', '15', '2018-06-27 23:12:38', 'ok', null);
INSERT INTO `chapter_table` VALUES ('100', '92', null, '/video/201806271213189461530029598545.Ogg', '为什么需要数据结构?', null, 'img/videoPag.png', '15', '2018-06-27 19:37:25', 'ok', null);
INSERT INTO `chapter_table` VALUES ('101', '98', null, '/video/201806270931136061530106273029.Ogg', 'Python分布式爬虫打造搜索引擎', null, 'img/videoPag.png', '15', '2018-06-27 21:33:59', 'ok', null);
INSERT INTO `chapter_table` VALUES ('102', '99', null, '/video/201806280402476031530172967091.Ogg', 'python基础第一节', null, 'img/videoPag.png', '15', '2018-06-28 16:06:12', 'ok', null);
INSERT INTO `chapter_table` VALUES ('103', '99', null, '/video/201806280403088091530172988236.Ogg', 'python基础第第二节', null, 'img/videoPag.png', '15', '2018-06-28 16:05:55', 'ok', null);
-- ----------------------------
-- Table structure for courses
-- ----------------------------
DROP TABLE IF EXISTS `courses`;
CREATE TABLE `courses` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cid` int(11) NOT NULL COMMENT '课程分类Id',
`uid` int(11) DEFAULT NULL COMMENT '作者',
`courseName` varchar(200) NOT NULL COMMENT '课程名称',
`home_url` varchar(200) DEFAULT NULL COMMENT '首页课程地址',
`descs` varchar(200) DEFAULT NULL COMMENT '简介',
`moods` int(20) DEFAULT '0' COMMENT '人气',
`courseCode` int(11) DEFAULT NULL COMMENT '课程状态码(0免费1收费)',
`price` decimal(11,0) DEFAULT '0' COMMENT '价格',
`upTime` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '上传时间',
`course_image` varchar(200) DEFAULT NULL COMMENT '课程图片',
`audit_state` int(11) DEFAULT '9' COMMENT '视频审核状态码',
`admin_id` int(11) DEFAULT NULL COMMENT '随机分配后台管理员',
`audit_time` timestamp NULL DEFAULT NULL COMMENT '审核时间',
`audit_idea` varchar(200) DEFAULT NULL COMMENT '审核意见',
`rid` int(11) DEFAULT NULL COMMENT '课程级别',
`kid` int(11) DEFAULT NULL COMMENT 'keyword _id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of courses
-- ----------------------------
INSERT INTO `courses` VALUES ('90', '27', '120', 'SpringBoot开发理财产品系统', null, 'SpringBoot开发理财产品系统是您的理财小助手,SpringBoot是当前Web开发的一项十分流行的框架技术!', '0', '1', '399', '2018-06-26 23:41:54', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '15', '3', '2018-06-27 19:38:01', '', '2', '1');
INSERT INTO `courses` VALUES ('91', '14', '120', '分布式事务实践', null, '分布式事务实践分布式事务实践分布式事务实践分布式事务实践', '0', '0', null, '2018-06-26 23:53:37', 'img/2a6d8f5dc50947c7b4888f3487db9450.png', '15', '1', '2018-06-27 18:50:04', '', '2', '5');
INSERT INTO `courses` VALUES ('92', '20', '121', '玩转数据结构 从入门到进阶', null, '玩转数据结构 ,从入门到进阶,不求一步登天,只求一步一痕。', '0', '1', '599', '2018-06-27 00:12:18', 'img/d80ac1e52f2c4aadaaf6f41dd8958a50.png', '15', '1', '2018-06-27 23:12:38', '', '3', '4');
INSERT INTO `courses` VALUES ('98', '26', '120', 'Python分布式爬虫打造搜索引擎', null, 'Python分布式爬虫打造搜索引擎', '0', '0', null, '2018-06-27 21:30:57', 'img/22691a578a424390bf81387cd0bf4b1e.jpeg', '15', '3', '2018-06-27 21:33:59', null, '3', '1');
INSERT INTO `courses` VALUES ('99', '26', '124', 'python', null, '优秀的课程优秀的课程优秀的课程优秀的课程优秀的课程优秀的课程优秀的课程', '0', '1', '100', '2018-06-28 16:01:11', 'img/143934a8eb044bcea8da5fafe99bc0fe.jpeg', '15', '3', '2018-06-28 16:06:12', null, '1', '3');
-- ----------------------------
-- Table structure for coursetype
-- ----------------------------
DROP TABLE IF EXISTS `coursetype`;
CREATE TABLE `coursetype` (
`id` int(11) NOT NULL COMMENT '方向',
`cid` int(11) DEFAULT NULL COMMENT '分类',
`categoryname` varchar(20) NOT NULL COMMENT '课程分类名'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of coursetype
-- ----------------------------
INSERT INTO `coursetype` VALUES ('1', '0', '前端开发');
INSERT INTO `coursetype` VALUES ('2', '0', '后端开发');
INSERT INTO `coursetype` VALUES ('3', '0', '移动开发');
INSERT INTO `coursetype` VALUES ('4', '0', '数据库');
INSERT INTO `coursetype` VALUES ('6', '0', '云计算大数据');
INSERT INTO `coursetype` VALUES ('7', '0', '运维测试');
INSERT INTO `coursetype` VALUES ('8', '0', 'UI设计');
INSERT INTO `coursetype` VALUES ('9', '1', 'HTML');
INSERT INTO `coursetype` VALUES ('10', '1', 'JavaScript');
INSERT INTO `coursetype` VALUES ('11', '1', 'Html5');
INSERT INTO `coursetype` VALUES ('12', '1', 'CSS3');
INSERT INTO `coursetype` VALUES ('13', '2', 'PHP');
INSERT INTO `coursetype` VALUES ('14', '2', 'Java');
INSERT INTO `coursetype` VALUES ('15', '3', 'Android');
INSERT INTO `coursetype` VALUES ('16', '3', 'IOS');
INSERT INTO `coursetype` VALUES ('17', '4', 'MySQL');
INSERT INTO `coursetype` VALUES ('18', '4', 'Oracle');
INSERT INTO `coursetype` VALUES ('19', '5', '机器学习');
INSERT INTO `coursetype` VALUES ('20', '6', '大数据');
INSERT INTO `coursetype` VALUES ('21', '6', '云计算');
INSERT INTO `coursetype` VALUES ('22', '7', '测试');
INSERT INTO `coursetype` VALUES ('23', '7', 'Linux');
INSERT INTO `coursetype` VALUES ('24', '8', '动效动画');
INSERT INTO `coursetype` VALUES ('25', '8', '设计基础');
INSERT INTO `coursetype` VALUES ('26', '2', 'Python');
INSERT INTO `coursetype` VALUES ('27', '2', 'Spring');
-- ----------------------------
-- Table structure for dept
-- ----------------------------
DROP TABLE IF EXISTS `dept`;
CREATE TABLE `dept` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT '部门编号',
`dname` varchar(255) DEFAULT NULL COMMENT '部门名称',
`dtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '部门创建时间',
`dstatus` int(11) DEFAULT NULL COMMENT '部门状态1为可用 0为不可用',
`describes` varchar(255) DEFAULT NULL COMMENT '描述',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of dept
-- ----------------------------
INSERT INTO `dept` VALUES ('1', '人事部', '2018-05-30 09:17:11', '1', '人员管理');
INSERT INTO `dept` VALUES ('2', '财务部', '2018-05-30 09:17:58', '1', '资金管理');
INSERT INTO `dept` VALUES ('3', '总裁办', '2018-05-30 09:18:52', '1', '事务管理');
INSERT INTO `dept` VALUES ('4', '技术部', '2018-05-30 09:19:36', '1', '技术管理');
INSERT INTO `dept` VALUES ('5', '审查部', '2018-06-11 15:50:12', '1', '嗯嗯可以的');
INSERT INTO `dept` VALUES ('6', '人才部', '2018-06-11 18:51:56', '1', '管理公司人才');
-- ----------------------------
-- Table structure for employee
-- ----------------------------
DROP TABLE IF EXISTS `employee`;
CREATE TABLE `employee` (
`id` int(32) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`ename` varchar(32) DEFAULT NULL COMMENT '员工姓名',
`esex` int(11) DEFAULT NULL COMMENT '员工性别',
`ebirth` datetime DEFAULT NULL COMMENT '生日',
`ephone` varchar(20) DEFAULT NULL COMMENT '电话号码',
`email` varchar(255) DEFAULT NULL COMMENT '邮箱',
`edept_id` int(255) DEFAULT NULL COMMENT '部门ID',
`erole_id` int(255) DEFAULT NULL COMMENT '角色ID',
`etime` datetime DEFAULT NULL COMMENT '入职时间',
`estatus` int(11) DEFAULT NULL COMMENT '状态1为在职 0为离职',
`admin_id` int(11) DEFAULT NULL COMMENT '账号id',
`head_img` varchar(255) DEFAULT NULL COMMENT '头像',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of employee
-- ----------------------------
INSERT INTO `employee` VALUES ('1', '师军鹏', '17', '1997-04-08 00:00:00', '153456', '[email protected]', '1', '1', null, '3', '1', 'img/1.jpg');
INSERT INTO `employee` VALUES ('2', '黄立学', '17', '1994-08-05 00:00:00', '1234575', '123@qq.', '2', '2', null, '3', '2', 'img/2.jpg');
INSERT INTO `employee` VALUES ('3', '沈均晓', '18', '2018-06-26 00:00:00', '17867935454', '[email protected]', '3', '3', null, '3', '3', 'img/264fecd05fea4278b6e75a08321e97f9.jpeg');
INSERT INTO `employee` VALUES ('12', null, null, null, null, null, '5', '12', null, '3', '12', null);
-- ----------------------------
-- Table structure for evaluate
-- ----------------------------
DROP TABLE IF EXISTS `evaluate`;
CREATE TABLE `evaluate` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '课程评价表',
`course_id` int(11) DEFAULT NULL COMMENT '课程ID',
`uid` int(11) DEFAULT NULL,
`content` varchar(300) DEFAULT NULL COMMENT '评价内容',
`evaluate_time` datetime DEFAULT NULL COMMENT '价评时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of evaluate
-- ----------------------------
-- ----------------------------
-- Table structure for flow_type
-- ----------------------------
DROP TABLE IF EXISTS `flow_type`;
CREATE TABLE `flow_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) DEFAULT NULL COMMENT '账户类型',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of flow_type
-- ----------------------------
INSERT INTO `flow_type` VALUES ('1', '充值');
INSERT INTO `flow_type` VALUES ('2', '提现手续费');
INSERT INTO `flow_type` VALUES ('3', '提现');
INSERT INTO `flow_type` VALUES ('4', '购买');
INSERT INTO `flow_type` VALUES ('5', '收益');
INSERT INTO `flow_type` VALUES ('6', '服务费');
-- ----------------------------
-- Table structure for index_course
-- ----------------------------
DROP TABLE IF EXISTS `index_course`;
CREATE TABLE `index_course` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cID` int(11) DEFAULT NULL COMMENT 'courses表的id 对应课程id',
`courseId` int(11) DEFAULT NULL COMMENT '课程分类id',
`courseName` varchar(100) DEFAULT NULL COMMENT '课程姓名',
`price` decimal(10,0) DEFAULT '0' COMMENT '价格',
`image` varchar(100) DEFAULT NULL COMMENT '课程图片',
`moods` int(20) DEFAULT '0',
`rID` int(11) DEFAULT NULL COMMENT '级别,',
`kID` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of index_course
-- ----------------------------
INSERT INTO `index_course` VALUES ('63', '90', '27', 'SpringBoot开发理财产品系统', '399', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '0', '2', '1');
INSERT INTO `index_course` VALUES ('64', '91', '14', '分布式事务实践', null, 'img/2a6d8f5dc50947c7b4888f3487db9450.png', '0', '2', '5');
INSERT INTO `index_course` VALUES ('65', '92', '20', '玩转数据结构 从入门到进阶', '599', 'img/d80ac1e52f2c4aadaaf6f41dd8958a50.png', '0', '3', '4');
INSERT INTO `index_course` VALUES ('71', '98', '26', 'Python分布式爬虫打造搜索引擎', null, 'img/22691a578a424390bf81387cd0bf4b1e.jpeg', '0', '3', '1');
INSERT INTO `index_course` VALUES ('72', '99', '26', 'python', '100', 'img/143934a8eb044bcea8da5fafe99bc0fe.jpeg', '0', '1', '3');
-- ----------------------------
-- Table structure for keyword
-- ----------------------------
DROP TABLE IF EXISTS `keyword`;
CREATE TABLE `keyword` (
`id` int(11) NOT NULL,
`keyword` varchar(200) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of keyword
-- ----------------------------
INSERT INTO `keyword` VALUES ('1', '实战');
INSERT INTO `keyword` VALUES ('2', '框架');
INSERT INTO `keyword` VALUES ('3', '工具');
INSERT INTO `keyword` VALUES ('4', '基础');
INSERT INTO `keyword` VALUES ('5', '案例');
-- ----------------------------
-- Table structure for myorder
-- ----------------------------
DROP TABLE IF EXISTS `myorder`;
CREATE TABLE `myorder` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`order_id` varchar(255) DEFAULT NULL COMMENT '用户id',
`course_id` int(11) DEFAULT NULL COMMENT '课程id',
`courseName` varchar(200) DEFAULT NULL COMMENT '课程名称',
`course_image` varchar(255) DEFAULT NULL,
`price` decimal(10,0) DEFAULT NULL COMMENT '价格',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=250 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of myorder
-- ----------------------------
INSERT INTO `myorder` VALUES ('244', '6382720180626', '90', 'SpringBoot开发理财产品系统', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '399');
INSERT INTO `myorder` VALUES ('245', '9747320180627', '90', 'SpringBoot开发理财产品系统', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '399');
INSERT INTO `myorder` VALUES ('246', '8903020180628', '90', 'SpringBoot开发理财产品系统', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '399');
INSERT INTO `myorder` VALUES ('247', '5830020180628', '92', '玩转数据结构 从入门到进阶', 'img/d80ac1e52f2c4aadaaf6f41dd8958a50.png', '599');
INSERT INTO `myorder` VALUES ('248', '4797120180628', '92', '玩转数据结构 从入门到进阶', 'img/d80ac1e52f2c4aadaaf6f41dd8958a50.png', '599');
INSERT INTO `myorder` VALUES ('249', '3933720180628', '92', '玩转数据结构 从入门到进阶', 'img/d80ac1e52f2c4aadaaf6f41dd8958a50.png', '599');
-- ----------------------------
-- Table structure for order_number
-- ----------------------------
DROP TABLE IF EXISTS `order_number`;
CREATE TABLE `order_number` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '订单表',
`uid` int(11) DEFAULT NULL COMMENT '用户id',
`price` decimal(10,0) DEFAULT NULL,
`order_time` datetime DEFAULT NULL COMMENT '订单时间',
`order_number` varchar(200) DEFAULT NULL COMMENT '订单编号',
`type` int(11) DEFAULT NULL COMMENT '订单支付状态',
`QRCode` varchar(255) DEFAULT NULL COMMENT '二维码',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=151 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of order_number
-- ----------------------------
INSERT INTO `order_number` VALUES ('145', '121', '399', '2018-06-26 23:46:14', '6382720180626', '2', 'images/98605212-8a9e-4a97-bc68-ee74a16c3fea.png');
INSERT INTO `order_number` VALUES ('146', '122', '399', '2018-06-27 21:38:18', '9747320180627', '2', 'images/a5a4ce13-1a27-4d1f-be7b-33831ced4352.png');
INSERT INTO `order_number` VALUES ('147', '123', '399', '2018-06-28 11:57:11', '8903020180628', '2', 'images/257a2a0c-20da-4cc8-bc52-19add8d233d6.png');
INSERT INTO `order_number` VALUES ('148', '123', '599', '2018-06-28 12:04:26', '5830020180628', '1', 'images/33d82298-7f70-4050-81a6-168d91ed3bdc.png');
INSERT INTO `order_number` VALUES ('149', '120', '599', '2018-06-28 13:56:46', '4797120180628', '1', 'images/b7f657a4-6c04-429a-a9b6-8e463bf218df.png');
INSERT INTO `order_number` VALUES ('150', '124', '599', '2018-06-28 16:08:42', '3933720180628', '2', 'images/86dce491-dc92-4ec9-8641-1073264ef0fd.png');
-- ----------------------------
-- Table structure for order_type
-- ----------------------------
DROP TABLE IF EXISTS `order_type`;
CREATE TABLE `order_type` (
`id` int(11) NOT NULL,
`orderType` varchar(255) DEFAULT NULL COMMENT '订单支付状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of order_type
-- ----------------------------
INSERT INTO `order_type` VALUES ('1', '未支付');
INSERT INTO `order_type` VALUES ('2', '已支付');
-- ----------------------------
-- Table structure for permission
-- ----------------------------
DROP TABLE IF EXISTS `permission`;
CREATE TABLE `permission` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pId` int(11) DEFAULT NULL,
`name` varchar(20) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL COMMENT '访问地址',
`iconCls` varchar(200) DEFAULT NULL COMMENT '图标',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of permission
-- ----------------------------
INSERT INTO `permission` VALUES ('1', '0', '员工管理', null, 'icon-user3');
INSERT INTO `permission` VALUES ('2', '0', '认证管理', null, 'icon-ren');
INSERT INTO `permission` VALUES ('3', '0', '公司财务', null, 'icon-money');
INSERT INTO `permission` VALUES ('4', '1', '员工添加', '/mooc/views/back/employee.jsp', 'icon-role');
INSERT INTO `permission` VALUES ('5', '14', '个人信息', '/mooc/views/back/personal.jsp', 'icon-role_msg');
INSERT INTO `permission` VALUES ('6', '2', '材料认证', '/mooc/views/back/material_naudited.jsp', 'icon-mers');
INSERT INTO `permission` VALUES ('7', '2', '视频审核', '/mooc/views/back/video_naudit.jsp', 'icon-mi_video');
INSERT INTO `permission` VALUES ('8', '3', '平台收益', '/mooc/views/back/Platform_Statistics.jsp', 'icon-user1');
INSERT INTO `permission` VALUES ('9', '3', '平台流水', '/mooc/views/back/patform_water.jsp', 'icon-platform');
INSERT INTO `permission` VALUES ('10', '1', '部门管理', '/mooc/views/back/dept.jsp', 'icon-dept');
INSERT INTO `permission` VALUES ('11', '0', '平台注册人员', null, 'icon-person');
INSERT INTO `permission` VALUES ('12', '11', '学生管理', '/mooc/views/back/student.jsp', 'icon-student');
INSERT INTO `permission` VALUES ('13', '11', '老师管理', '/mooc/views/back/teacher.jsp', 'icon-teacher');
INSERT INTO `permission` VALUES ('14', '0', '个人中心', null, 'icon-person1');
INSERT INTO `permission` VALUES ('15', '14', '修改密码', '/mooc/views/back/update_password.jsp', 'icon-password');
INSERT INTO `permission` VALUES ('16', '0', '广告管理', null, 'icon-ads');
INSERT INTO `permission` VALUES ('17', '16', '上传广告', '/mooc/getAllAdvert', 'icon-adss');
INSERT INTO `permission` VALUES ('18', '3', '平台统计', '/mooc/views/back/platform_data.jsp', 'icon-tong');
-- ----------------------------
-- Table structure for pricestype
-- ----------------------------
DROP TABLE IF EXISTS `pricestype`;
CREATE TABLE `pricestype` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pricetype` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of pricestype
-- ----------------------------
INSERT INTO `pricestype` VALUES ('1', '免费');
INSERT INTO `pricestype` VALUES ('2', '收费');
-- ----------------------------
-- Table structure for rank
-- ----------------------------
DROP TABLE IF EXISTS `rank`;
CREATE TABLE `rank` (
`id` int(11) NOT NULL,
`rank` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of rank
-- ----------------------------
INSERT INTO `rank` VALUES ('1', '入门');
INSERT INTO `rank` VALUES ('2', '中级');
INSERT INTO `rank` VALUES ('3', '高级');
-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`roleCode` varchar(20) DEFAULT NULL,
`roleName` varchar(20) DEFAULT NULL,
`roleDesc` varchar(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of role
-- ----------------------------
INSERT INTO `role` VALUES ('1', 'admin', '审核管理', '材料审核');
INSERT INTO `role` VALUES ('2', 'v_admin', '审核管理', '视频审核');
INSERT INTO `role` VALUES ('3', 'supper', '超级管理员', '管理一切');
INSERT INTO `role` VALUES ('9', null, '后台管理', null);
INSERT INTO `role` VALUES ('10', null, '嗯嗯', null);
INSERT INTO `role` VALUES ('11', null, '审核管理', null);
INSERT INTO `role` VALUES ('12', null, '视频审核', null);
-- ----------------------------
-- Table structure for role_permission
-- ----------------------------
DROP TABLE IF EXISTS `role_permission`;
CREATE TABLE `role_permission` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`roleID` int(11) NOT NULL,
`permissionID` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of role_permission
-- ----------------------------
INSERT INTO `role_permission` VALUES ('1', '1', '6');
INSERT INTO `role_permission` VALUES ('2', '1', '7');
INSERT INTO `role_permission` VALUES ('3', '1', '4');
INSERT INTO `role_permission` VALUES ('4', '1', '5');
INSERT INTO `role_permission` VALUES ('7', '2', '12');
INSERT INTO `role_permission` VALUES ('11', '3', '4');
INSERT INTO `role_permission` VALUES ('12', '3', '5');
INSERT INTO `role_permission` VALUES ('13', '3', '6');
INSERT INTO `role_permission` VALUES ('14', '3', '7');
INSERT INTO `role_permission` VALUES ('15', '3', '8');
INSERT INTO `role_permission` VALUES ('16', '3', '9');
INSERT INTO `role_permission` VALUES ('17', '3', '10');
INSERT INTO `role_permission` VALUES ('18', '3', '12');
INSERT INTO `role_permission` VALUES ('19', '3', '13');
INSERT INTO `role_permission` VALUES ('20', '9', '4');
INSERT INTO `role_permission` VALUES ('21', '9', '5');
INSERT INTO `role_permission` VALUES ('22', '9', '10');
INSERT INTO `role_permission` VALUES ('23', '9', '6');
INSERT INTO `role_permission` VALUES ('24', '9', '7');
INSERT INTO `role_permission` VALUES ('25', '9', '4');
INSERT INTO `role_permission` VALUES ('26', '9', '5');
INSERT INTO `role_permission` VALUES ('27', '3', '15');
INSERT INTO `role_permission` VALUES ('28', '3', '17');
INSERT INTO `role_permission` VALUES ('29', '10', '4');
INSERT INTO `role_permission` VALUES ('30', '10', '10');
INSERT INTO `role_permission` VALUES ('31', '10', '6');
INSERT INTO `role_permission` VALUES ('32', '10', '7');
INSERT INTO `role_permission` VALUES ('33', '10', '8');
INSERT INTO `role_permission` VALUES ('34', '10', '9');
INSERT INTO `role_permission` VALUES ('35', '10', '12');
INSERT INTO `role_permission` VALUES ('36', '10', '13');
INSERT INTO `role_permission` VALUES ('37', '10', '5');
INSERT INTO `role_permission` VALUES ('38', '10', '15');
INSERT INTO `role_permission` VALUES ('39', '10', '17');
INSERT INTO `role_permission` VALUES ('40', '1', '5');
INSERT INTO `role_permission` VALUES ('41', '1', '15');
INSERT INTO `role_permission` VALUES ('42', '1', '17');
INSERT INTO `role_permission` VALUES ('43', '3', '18');
INSERT INTO `role_permission` VALUES ('44', '1', '12');
INSERT INTO `role_permission` VALUES ('45', '1', '13');
INSERT INTO `role_permission` VALUES ('46', '1', '5');
INSERT INTO `role_permission` VALUES ('47', '1', '15');
INSERT INTO `role_permission` VALUES ('48', '2', '5');
INSERT INTO `role_permission` VALUES ('49', '2', '15');
INSERT INTO `role_permission` VALUES ('50', '11', '7');
INSERT INTO `role_permission` VALUES ('51', '11', '5');
INSERT INTO `role_permission` VALUES ('52', '11', '15');
-- ----------------------------
-- Table structure for sencond
-- ----------------------------
DROP TABLE IF EXISTS `sencond`;
CREATE TABLE `sencond` (
`id` int(11) NOT NULL,
`name` varchar(50) DEFAULT NULL,
`job` varchar(50) DEFAULT NULL,
`desc` varchar(300) DEFAULT NULL,
`headImg` varchar(100) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of sencond
-- ----------------------------
INSERT INTO `sencond` VALUES ('1', '李斌', 'Web前端工程师', '现任某大型互联网公司前端架构师,带领众多前端小伙伴开发项目,对前端学习以及发展方向非常熟悉,多次组织公司内部培训,讲法一流。', 'img/meinv.jpg');
INSERT INTO `sencond` VALUES ('2', '张致富', 'JS工程师', '现任某大型互联网公司前端架构师,带领众多前端小伙伴开发项目,对前端学习以及发展方向非常熟悉,多次组织公司内部培训,讲法一流。', 'img/ofhjkld.jpg');
INSERT INTO `sencond` VALUES ('3', '陈少年', '开发工程师', '从事了10多年的软件测试工作,感觉自己是越来越喜欢这份职业;目前的发展方向是测试开发,单纯的手工测试确实太枯燥了,融入的开发技巧,可以在枯燥、平凡的工作中增加不少挑战与乐趣。', 'img/999.png');
INSERT INTO `sencond` VALUES ('4', '黄立学', 'JAVA开发工程师', 'Geely,丰富的互联网项目经验,公司内部技术讲师,热爱技术,乐于分享;教学格言:把复杂的技术简单化,简单的技术极致化', 'img/tgykgikg.jpg');
INSERT INTO `sencond` VALUES ('5', '师军鹏', 'UI设计师', '多年研发经验,毕业后一直任职于某大型互联网公司,担任研发经理。后开始自己的创业。精通Python、NodeJS、Javascript、PHP等,一直致力于Web技术的研究', 'img/xiaohuangren.jpg');
-- ----------------------------
-- Table structure for state
-- ----------------------------
DROP TABLE IF EXISTS `state`;
CREATE TABLE `state` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of state
-- ----------------------------
INSERT INTO `state` VALUES ('1', '启用');
INSERT INTO `state` VALUES ('2', '弃用');
INSERT INTO `state` VALUES ('3', '在职');
INSERT INTO `state` VALUES ('4', '离职');
INSERT INTO `state` VALUES ('5', '大专');
INSERT INTO `state` VALUES ('6', '本科');
INSERT INTO `state` VALUES ('7', '研究生');
INSERT INTO `state` VALUES ('8', '博士');
INSERT INTO `state` VALUES ('9', '待审核');
INSERT INTO `state` VALUES ('11', '材料审核失败');
INSERT INTO `state` VALUES ('12', '材料审核通过');
INSERT INTO `state` VALUES ('13', '视频已审核');
INSERT INTO `state` VALUES ('14', '视频审核失败');
INSERT INTO `state` VALUES ('15', '视频审核通过');
INSERT INTO `state` VALUES ('16', '未审核');
INSERT INTO `state` VALUES ('17', '男');
INSERT INTO `state` VALUES ('18', '女');
-- ----------------------------
-- Table structure for student_teacher
-- ----------------------------
DROP TABLE IF EXISTS `student_teacher`;
CREATE TABLE `student_teacher` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(200) DEFAULT NULL COMMENT '是学生还是老师',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of student_teacher
-- ----------------------------
INSERT INTO `student_teacher` VALUES ('0', '学生');
INSERT INTO `student_teacher` VALUES ('1', '老师');
-- ----------------------------
-- Table structure for study_state
-- ----------------------------
DROP TABLE IF EXISTS `study_state`;
CREATE TABLE `study_state` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(200) DEFAULT NULL COMMENT '学习状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of study_state
-- ----------------------------
INSERT INTO `study_state` VALUES ('0', '正在学习');
INSERT INTO `study_state` VALUES ('1', '学习完成');
-- ----------------------------
-- Table structure for teacher_attestation
-- ----------------------------
DROP TABLE IF EXISTS `teacher_attestation`;
CREATE TABLE `teacher_attestation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT NULL COMMENT '用户id',
`sex` varchar(20) DEFAULT NULL COMMENT '性别',
`address` varchar(50) DEFAULT NULL COMMENT '地址',
`realName` varchar(20) DEFAULT '' COMMENT '真实姓名',
`IDNumber` varchar(20) DEFAULT NULL COMMENT '身份证号',
`schoolName` varchar(255) DEFAULT NULL COMMENT '院校名称',
`academic` int(11) DEFAULT NULL COMMENT '学历',
`IDImageFountVar` varchar(300) DEFAULT NULL COMMENT '身份证正面照',
`IDImageBackVar` varchar(300) DEFAULT NULL COMMENT '身份证反面照',
`content` text COMMENT '材料',
`apply_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '申请时间',
`auditor_id` int(11) DEFAULT NULL COMMENT '审核人id',
`audit_time` datetime DEFAULT NULL COMMENT '审核时间',
`auditResult` int(11) DEFAULT '9' COMMENT '审核状态',
`auditRemarks` varchar(255) DEFAULT NULL COMMENT '审核备注',
`personal_profile` varchar(255) DEFAULT NULL COMMENT '个人简介',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=83 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of teacher_attestation
-- ----------------------------
INSERT INTO `teacher_attestation` VALUES ('80', '120', '男', '广东,广州市,东山区', '沈均晓', '412822199409206575', '升达', '6', 'img/170454c9-63aa-4696-8633-f5c18c223ba7.jpg', 'img/d35c8785-2e68-4264-8936-29dfe0d91205.jpg', '
', '2018-06-26 23:38:37', '1', '2018-06-26 23:39:23', '12', 'OK', '我是一个厉害的囧瑟');
INSERT INTO `teacher_attestation` VALUES ('81', '121', '男', null, '张致富', '411527199409240559', '升达', '6', 'img/51ad806f-76e2-47ff-b82a-47f97dd89bd2.jpg', 'img/675d832c-8906-47eb-8a74-b5be95e97c12.jpg', '
', '2018-06-27 00:10:02', '2', '2018-06-27 00:10:40', '12', 'OK', null);
INSERT INTO `teacher_attestation` VALUES ('82', '124', '女', '广东,广州市,荔湾区', '沈均晓', '410426199306014193', 'AAA', '6', 'img/da7907b7-dbf8-48d6-bf94-7017103ccd20.jpg', 'img/cbd4f3a4-d195-4d11-8e2b-43554b294aa0.jpg', '
', '2018-06-28 15:56:04', '3', '2018-06-28 15:57:39', '12', 'ok', 'AAA');
-- ----------------------------
-- Table structure for user_account_flow
-- ----------------------------
DROP TABLE IF EXISTS `user_account_flow`;
CREATE TABLE `user_account_flow` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) DEFAULT NULL,
`amount` decimal(10,0) DEFAULT NULL COMMENT '资金变动金额',
`availableBalance` decimal(10,0) DEFAULT NULL COMMENT '变动后 可用余额额',
`flowDate` datetime DEFAULT NULL COMMENT '流水时间',
`flowType` int(11) DEFAULT NULL COMMENT '流水类型',
`flownumber` varchar(255) DEFAULT NULL COMMENT '流水单号',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=140 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_account_flow
-- ----------------------------
INSERT INTO `user_account_flow` VALUES ('128', '120', '319', null, '2018-06-26 23:46:47', '5', '6382720180626');
INSERT INTO `user_account_flow` VALUES ('129', '120', '80', null, '2018-06-26 23:46:47', '6', '6382720180626');
INSERT INTO `user_account_flow` VALUES ('130', '121', '399', null, '2018-06-26 23:46:47', '4', '6382720180626');
INSERT INTO `user_account_flow` VALUES ('131', '120', '319', null, '2018-06-27 21:42:22', '5', '9747320180627');
INSERT INTO `user_account_flow` VALUES ('132', '120', '80', null, '2018-06-27 21:42:22', '6', '9747320180627');
INSERT INTO `user_account_flow` VALUES ('133', '122', '399', null, '2018-06-27 21:42:22', '4', '9747320180627');
INSERT INTO `user_account_flow` VALUES ('134', '120', '319', null, '2018-06-28 12:03:17', '5', '8903020180628');
INSERT INTO `user_account_flow` VALUES ('135', '120', '80', null, '2018-06-28 12:03:17', '6', '8903020180628');
INSERT INTO `user_account_flow` VALUES ('136', '123', '399', null, '2018-06-28 12:03:17', '4', '8903020180628');
INSERT INTO `user_account_flow` VALUES ('137', '121', '479', null, '2018-06-28 16:10:19', '5', '3933720180628');
INSERT INTO `user_account_flow` VALUES ('138', '121', '120', null, '2018-06-28 16:10:19', '6', '3933720180628');
INSERT INTO `user_account_flow` VALUES ('139', '124', '599', null, '2018-06-28 16:10:19', '4', '3933720180628');
-- ----------------------------
-- Table structure for user_info
-- ----------------------------
DROP TABLE IF EXISTS `user_info`;
CREATE TABLE `user_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL,
`email` varchar(20) DEFAULT NULL,
`headImg` varchar(100) DEFAULT NULL COMMENT '头像',
`rank` int(11) NOT NULL DEFAULT '0' COMMENT '注册人身份(0表示学生)',
`authCode` int(11) NOT NULL DEFAULT '0' COMMENT '是否学籍认证',
`available` decimal(10,0) DEFAULT '0' COMMENT '可用余额',
`transactionPassword` varchar(50) DEFAULT NULL COMMENT '交易密码',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=58 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_info
-- ----------------------------
INSERT INTO `user_info` VALUES ('53', '120', '[email protected]', 'img/f6c3a5a9-5a5b-4dd3-ba59-7be593afdabc.jpg', '1', '0', '957', 'A6CB3808207D605B53F4459D7E5103DE');
INSERT INTO `user_info` VALUES ('54', '121', null, null, '1', '0', '479', '256134FDB202ADAB4FB952696D93B8AF');
INSERT INTO `user_info` VALUES ('55', '122', null, null, '0', '0', '0', '82661DCB09D4BA2F81F438CC79F8821F');
INSERT INTO `user_info` VALUES ('57', '124', '[email protected]', 'img/7c4acdfa-5b9b-4f05-b943-aba7fab01eb1.jpg', '1', '0', '0', '5C8C3D04233FDEB3E1823CB85B553765');
-- ----------------------------
-- Table structure for user_information
-- ----------------------------
DROP TABLE IF EXISTS `user_information`;
CREATE TABLE `user_information` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`uid` int(10) NOT NULL,
`city` varchar(20) DEFAULT NULL COMMENT '城市',
`sex` varchar(10) DEFAULT NULL COMMENT '性别',
`signature` varchar(100) DEFAULT NULL COMMENT '个性签名',
`jobid` int(11) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_information
-- ----------------------------
INSERT INTO `user_information` VALUES ('56', '120', '广东,广州市,东山区', '1', '我是一个厉害的囧瑟', '17');
INSERT INTO `user_information` VALUES ('57', '121', null, null, null, '1');
INSERT INTO `user_information` VALUES ('58', '122', null, null, null, '1');
INSERT INTO `user_information` VALUES ('60', '124', '广东,广州市,荔湾区', '1', 'AAA', '2');
-- ----------------------------
-- Table structure for user_info_login
-- ----------------------------
DROP TABLE IF EXISTS `user_info_login`;
CREATE TABLE `user_info_login` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) DEFAULT NULL,
`tel` varchar(20) DEFAULT NULL COMMENT '电话',
`password` varchar(200) DEFAULT NULL,
`reg_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '注册时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=125 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_info_login
-- ----------------------------
INSERT INTO `user_info_login` VALUES ('120', '沈均晓', '18339629581', 'DC483E80A7A0BD9EF71D8CF973673924', '2018-06-26 23:36:39');
INSERT INTO `user_info_login` VALUES ('121', 'mooc_8041008', '17320120321', 'DC483E80A7A0BD9EF71D8CF973673924', '2018-06-26 23:45:58');
INSERT INTO `user_info_login` VALUES ('122', 'mooc_3897874', '15516726960', '8FC7B70DC04E5CA9833ED3D5416183A1', '2018-06-27 00:02:21');
INSERT INTO `user_info_login` VALUES ('124', 'mooc_5737869', '17839937926', 'CFF1BC72ABA38A71B293C0671D737654', '2018-06-28 15:41:20');
-- ----------------------------
-- Table structure for user_job_type
-- ----------------------------
DROP TABLE IF EXISTS `user_job_type`;
CREATE TABLE `user_job_type` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`job` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_job_type
-- ----------------------------
INSERT INTO `user_job_type` VALUES ('1', '学生');
INSERT INTO `user_job_type` VALUES ('2', 'Python工程师');
INSERT INTO `user_job_type` VALUES ('3', '页面从重构设计');
INSERT INTO `user_job_type` VALUES ('4', 'Web前端工程师');
INSERT INTO `user_job_type` VALUES ('5', 'JS工程师');
INSERT INTO `user_job_type` VALUES ('6', 'PHP开发工程师');
INSERT INTO `user_job_type` VALUES ('7', 'JAVA开发工程师');
INSERT INTO `user_job_type` VALUES ('8', '移动开发工程师');
INSERT INTO `user_job_type` VALUES ('9', '软件测试工程师');
INSERT INTO `user_job_type` VALUES ('10', 'Linux系统工程师');
INSERT INTO `user_job_type` VALUES ('11', '交互设计师');
INSERT INTO `user_job_type` VALUES ('12', '产品经理');
INSERT INTO `user_job_type` VALUES ('13', '数据库工程师');
INSERT INTO `user_job_type` VALUES ('14', '软件工程师');
INSERT INTO `user_job_type` VALUES ('15', 'UI设计师');
INSERT INTO `user_job_type` VALUES ('16', 'CG影视动画师');
INSERT INTO `user_job_type` VALUES ('17', '全栈工程师');
INSERT INTO `user_job_type` VALUES ('18', '算法工程师');
-- ----------------------------
-- Table structure for user_login_log
-- ----------------------------
DROP TABLE IF EXISTS `user_login_log`;
CREATE TABLE `user_login_log` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL COMMENT '用户id',
`loginIP` varchar(50) NOT NULL COMMENT '登录ip',
`loginAdress` varchar(50) NOT NULL COMMENT '登录状态',
`loginTime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '登录时间',
`loginstate` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1373 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_login_log
-- ----------------------------
INSERT INTO `user_login_log` VALUES ('1341', '120', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-26 23:36:47', '成功');
INSERT INTO `user_login_log` VALUES ('1342', '121', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-26 23:46:05', '成功');
INSERT INTO `user_login_log` VALUES ('1343', '120', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-26 23:48:11', '失败');
INSERT INTO `user_login_log` VALUES ('1344', '120', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-26 23:48:19', '成功');
INSERT INTO `user_login_log` VALUES ('1345', '121', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-27 00:00:30', '成功');
INSERT INTO `user_login_log` VALUES ('1346', '122', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-27 00:02:33', '成功');
INSERT INTO `user_login_log` VALUES ('1347', '121', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-27 00:08:30', '成功');
INSERT INTO `user_login_log` VALUES ('1348', '120', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-27 00:22:05', '成功');
INSERT INTO `user_login_log` VALUES ('1349', '121', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-27 00:22:22', '成功');
INSERT INTO `user_login_log` VALUES ('1350', '121', '172.16.22.91', 'DESKTOP-AA447S1', '2018-06-27 00:22:40', '成功');
INSERT INTO `user_login_log` VALUES ('1351', '120', '192.168.43.65', 'DESKTOP-AA447S1', '2018-06-27 09:09:45', '成功');
INSERT INTO `user_login_log` VALUES ('1352', '120', '192.168.43.65', 'DESKTOP-AA447S1', '2018-06-27 09:16:51', '成功');
INSERT INTO `user_login_log` VALUES ('1353', '120', '192.168.43.65', 'DESKTOP-AA447S1', '2018-06-27 09:17:39', '成功');
INSERT INTO `user_login_log` VALUES ('1354', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 13:58:31', '成功');
INSERT INTO `user_login_log` VALUES ('1355', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 20:42:09', '成功');
INSERT INTO `user_login_log` VALUES ('1356', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 20:47:18', '成功');
INSERT INTO `user_login_log` VALUES ('1357', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 20:50:43', '成功');
INSERT INTO `user_login_log` VALUES ('1358', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 20:58:00', '成功');
INSERT INTO `user_login_log` VALUES ('1359', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 21:01:49', '成功');
INSERT INTO `user_login_log` VALUES ('1360', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 21:30:08', '成功');
INSERT INTO `user_login_log` VALUES ('1361', '122', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-27 21:37:55', '成功');
INSERT INTO `user_login_log` VALUES ('1362', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 08:22:58', '成功');
INSERT INTO `user_login_log` VALUES ('1363', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 08:27:01', '成功');
INSERT INTO `user_login_log` VALUES ('1364', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 11:36:17', '成功');
INSERT INTO `user_login_log` VALUES ('1365', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 11:46:24', '成功');
INSERT INTO `user_login_log` VALUES ('1366', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 11:52:52', '成功');
INSERT INTO `user_login_log` VALUES ('1368', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 13:49:16', '成功');
INSERT INTO `user_login_log` VALUES ('1369', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 13:51:20', '成功');
INSERT INTO `user_login_log` VALUES ('1370', '120', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 13:56:33', '成功');
INSERT INTO `user_login_log` VALUES ('1371', '124', '172.16.22.54', 'DESKTOP-AA447S1', '2018-06-28 15:41:32', '成功');
INSERT INTO `user_login_log` VALUES ('1372', '120', '172.16.22.21', 'DESKTOP-AA447S1', '2018-06-29 08:26:51', '成功');
-- ----------------------------
-- Table structure for user_watch_record
-- ----------------------------
DROP TABLE IF EXISTS `user_watch_record`;
CREATE TABLE `user_watch_record` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` int(11) NOT NULL COMMENT '用户id',
`course_id` int(11) NOT NULL COMMENT '课程id',
`chapterId` int(11) NOT NULL COMMENT '章节id',
`courseImage` varchar(200) NOT NULL COMMENT '课程封面图片',
`lookTime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '观看时间',
`url` varchar(200) DEFAULT NULL COMMENT '视频路径',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user_watch_record
-- ----------------------------
INSERT INTO `user_watch_record` VALUES ('41', '120', '90', '96', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '2018-06-26 23:45:27', '/video/201806261142291081530027749621.Ogg');
INSERT INTO `user_watch_record` VALUES ('42', '121', '90', '96', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '2018-06-26 23:46:56', '/video/201806261142291081530027749621.Ogg');
INSERT INTO `user_watch_record` VALUES ('43', '122', '90', '96', 'img/f0497ce2333f4a76b6c4d04a4ced049a.png', '2018-06-27 21:42:26', '/video/201806261142291081530027749621.Ogg');
INSERT INTO `user_watch_record` VALUES ('44', '123', '98', '101', 'img/22691a578a424390bf81387cd0bf4b1e.jpeg', '2018-06-28 11:56:10', '/video/201806270931136061530106273029.Ogg');
INSERT INTO `user_watch_record` VALUES ('45', '124', '98', '101', 'img/22691a578a424390bf81387cd0bf4b1e.jpeg', '2018-06-28 15:41:40', '/video/201806270931136061530106273029.Ogg');
INSERT INTO `user_watch_record` VALUES ('46', '124', '92', '99', 'img/d80ac1e52f2c4aadaaf6f41dd8958a50.png', '2018-06-28 16:11:11', '/video/201806271212462551530029566918.Ogg');
INSERT INTO `user_watch_record` VALUES ('47', '124', '92', '100', 'img/d80ac1e52f2c4aadaaf6f41dd8958a50.png', '2018-06-28 16:11:24', '/video/201806271213189461530029598545.Ogg');