管理员:个人中心、学生管理、组织者管理、通知公告管理、活动推荐管理、活动分类管理、活动管理、活动报名管理、我的收藏管理、系统管理等
普通用户:登录注册、首页、活动、我的等
-- MySQL dump 10.13 Distrib 5.7.31, for Linux (x86_64)
--
-- Host: localhost Database: ssm8c4j7
-- ------------------------------------------------------
-- Server version 5.7.31
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Current Database: `ssm8c4j7`
--
/*!40000 DROP DATABASE IF EXISTS `ssm8c4j7`*/;
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ssm8c4j7` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
USE `ssm8c4j7`;
--
-- Table structure for table `chat`
--
DROP TABLE IF EXISTS `chat`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `chat` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`userid` bigint(20) NOT NULL COMMENT '用户id',
`adminid` bigint(20) DEFAULT NULL COMMENT '管理员id',
`ask` longtext COMMENT '提问',
`reply` longtext COMMENT '回复',
`isreply` int(11) DEFAULT NULL COMMENT '是否回复',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1650445267467 DEFAULT CHARSET=utf8 COMMENT='在线咨询';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `chat`
--
LOCK TABLES `chat` WRITE;
/*!40000 ALTER TABLE `chat` DISABLE KEYS */;
INSERT INTO `chat` VALUES (81,'2022-04-20 08:50:38',1,1,'提问1','回复1',1),(82,'2022-04-20 08:50:38',2,2,'提问2','回复2',2),(83,'2022-04-20 08:50:38',3,3,'提问3','回复3',3),(84,'2022-04-20 08:50:38',4,4,'提问4','回复4',4),(85,'2022-04-20 08:50:38',5,5,'提问5','回复5',5),(86,'2022-04-20 08:50:38',6,6,'提问6','回复6',6),(1650444860259,'2022-04-20 08:54:19',1650444786252,NULL,'测试',NULL,0),(1650445267466,'2022-04-20 09:01:06',1650444786252,1,NULL,'测试',NULL);
/*!40000 ALTER TABLE `chat` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `config`
--
DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `config` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`name` varchar(100) NOT NULL COMMENT '配置参数名称',
`value` varchar(100) DEFAULT NULL COMMENT '配置参数值',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='配置文件';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `config`
--
LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES (1,'picture1','upload/picture1.jpg'),(2,'picture2','upload/picture2.jpg'),(3,'picture3','upload/1650445247582.jpg');
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `discusshuodong`
--
DROP TABLE IF EXISTS `discusshuodong`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discusshuodong` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`refid` bigint(20) NOT NULL COMMENT '关联表id',
`userid` bigint(20) NOT NULL COMMENT '用户id',
`nickname` varchar(200) DEFAULT NULL COMMENT '用户名',
`content` longtext NOT NULL COMMENT '评论内容',
`reply` longtext COMMENT '回复内容',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8 COMMENT='活动评论表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `discusshuodong`
--
LOCK TABLES `discusshuodong` WRITE;
/*!40000 ALTER TABLE `discusshuodong` DISABLE KEYS */;
INSERT INTO `discusshuodong` VALUES (111,'2022-04-20 08:50:38',1,1,'用户名1','评论内容1','回复内容1'),(112,'2022-04-20 08:50:38',2,2,'用户名2','评论内容2','回复内容2'),(113,'2022-04-20 08:50:38',3,3,'用户名3','评论内容3','回复内容3'),(114,'2022-04-20 08:50:39',4,4,'用户名4','评论内容4','回复内容4'),(115,'2022-04-20 08:50:39',5,5,'用户名5','评论内容5','回复内容5'),(116,'2022-04-20 08:50:39',6,6,'用户名6','评论内容6','回复内容6');
/*!40000 ALTER TABLE `discusshuodong` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `discusshuodongtuijian`
--
DROP TABLE IF EXISTS `discusshuodongtuijian`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discusshuodongtuijian` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`refid` bigint(20) NOT NULL COMMENT '关联表id',
`userid` bigint(20)