app端-用户角色:注册登录、运动排名、设置目标、我的目标、教学视频、创建计划、我的计划、分享/评论动态、关注对方、双方聊天、账户维护(个人信息、头像、密码等)
web后台管理-管理员角色:用户管理、视频管理
首页
我的
教学视频
创建运行计划
我的运动计划
社区
分享动态
评论动态
设置运动目标
我的目标
关注/取消关注
双方聊天
数据库表如下:
-- ----------------------------
-- Table structure for t_timetable_info
-- ----------------------------
DROP TABLE IF EXISTS `t_timetable_info`;
CREATE TABLE `t_timetable_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`sys_user_id` varchar(32) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`room` varchar(255) DEFAULT NULL,
`day` int(255) DEFAULT NULL,
`start` int(255) DEFAULT NULL,
`step` int(255) DEFAULT NULL,
`week` int(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Table structure for t_trends_comment
-- ----------------------------
DROP TABLE IF EXISTS `t_trends_comment`;
CREATE TABLE `t_trends_comment` (
`comment_id` varchar(32) NOT NULL,
`trends_id` varchar(32) DEFAULT NULL,
`content` varchar(255) DEFAULT NULL,
`sys_user_id` varchar(32) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`comment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of t_trends_comment
-- ----------------------------
-- ----------------------------
-- Table structure for t_trends_images
-- ----------------------------
DROP TABLE IF EXISTS `t_trends_images`;
CREATE TABLE `t_trends_images` (
`images_id` varchar(32) NOT NULL,
`path` varchar(255) DEFAULT NULL,
`trends_id` varchar(32) DEFAULT NULL,
`width` int(11) DEFAULT NULL,
`height` int(11) DEFAULT NULL,
PRIMARY KEY (`images_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Table structure for t_trends_info
-- ----------------------------
DROP TABLE IF EXISTS `t_trends_info`;
CREATE TABLE `t_trends_info` (
`trends_id` varchar(32) NOT NULL,
`sys_user_id` varchar(32) DEFAULT NULL,
`content` varchar(255) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`trends_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='动态表';
-- ----------------------------
-- Table structure for t_user_collect
-- ----------------------------
DROP TABLE IF EXISTS `t_user_collect`;
CREATE TABLE `t_user_collect` (
`collect_id` int(11) NOT NULL AUTO_INCREMENT,
`form_user_id` varchar(32) DEFAULT NULL,
`to_user_id` varchar(32) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`collect_id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Table structure for t_video_info
-- ----------------------------
DROP TABLE IF EXISTS `t_video_info`;
CREATE TABLE `t_video_info` (
`id` varchar(32) NOT NULL,
`title` varchar(255) DEFAULT NULL,
`cover` varchar(255) DEFAULT NULL,
`content` longtext,
`video` varchar(255) DEFAULT NULL,
`status` int(1) DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;