技术选型作者:计算机编程-吉哥
简介:专业从事JavaWeb程序开发,微信小程序开发,定制化项目、源码、代码讲解、文档撰写、ppt制作。做自己喜欢的事,生活就是快乐的。
心愿:点赞 收藏 ⭐评论
文末获取源码联系
springboot、mybatis、maven、thymeleaf、html、mysql、tomcat8.5、jdk1.8
数据库表结构8张
开发工具:idea、navicat
⭐功能:- 登录
- 首页
- 文章
- 心理评测
- 留言
- 公告
数据库表结构设计:
CREATE TABLE `sys_article` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '文章ID', `label` int(11) NULL DEFAULT NULL COMMENT '文章标签', `title` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '文章标题', `content` varchar(10000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '文章内容', `author` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '文章作者', `status` int(2) NULL DEFAULT NULL COMMENT '文章发布状态', `create_time` datetime(0) NULL DEFAULT NULL COMMENT '文章发布时间', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Compact; CREATE TABLE `sys_label` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT ' 文章标签id', `label_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '文章标签名', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Compact; CREATE TABLE `sys_leacot` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '留言ID', `content` varchar(2000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '留言内容', `leacots_time` datetime(0) NULL DEFAULT NULL COMMENT '留言时间', `leacots_user` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '留言用户', `reply_id` int(11) NULL DEFAULT NULL COMMENT '关联回复内容', `status` int(2) NULL DEFAULT NULL COMMENT '回复状态', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Compact; CREATE TABLE `sys_notice` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '公告ID', `title` varchar(500) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '公告标题', `content` varchar(2000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '公告内容', `create_time` datetime(0) NULL DEFAULT NULL COMMENT '公告创建时间', `user_op` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT ' *** 作用户', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Compact; CREATE TABLE `sys_pgtest` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '评测ID', `pgtest_result` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '评测结果', `pgtest_score` int(5) NULL DEFAULT NULL COMMENT '评测分数', `pgtest_time` datetime(0) NULL DEFAULT NULL COMMENT '评测时间', `user_op` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '评测用户', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Compact; CREATE TABLE `sys_reply` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '回复ID', `reply_content` varchar(2000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '回复内容', `reply_time` datetime(0) NULL DEFAULT NULL COMMENT '回复时间', `reply_user` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '回复用户', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Compact; CREATE TABLE `sys_topic` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '题目ID', ` topic_content` varchar(1000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '题目内容', `refer_answer` varchar(2000) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '题目参考答案', `topic_time` datetime(0) NULL DEFAULT NULL COMMENT '题目创建时间', `user_op` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL COMMENT '题目 *** 作用户', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Compact; CREATE TABLE `sys_user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `password` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `phone` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `user_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户类型名', `tocheck` int(2) NULL DEFAULT NULL COMMENT '用户类型', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
更多精彩文章栏目:计算机毕业设计项目
公众号:IT跃迁谷【更多精彩文章】
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓如果大家有任何疑虑,请在下方或昵称位置详细咨询。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)