操作角色为管理员和用户、商家。
后台功能:
个人中心管理:功能可以实现添加管理员账号和查询管理员账号、修改密码。
家政预约:本功能可以为预约家政的用户进行管理。
政人员管理:家政人员是本系统最基本的信息,管理员可以管理家政服务的人员信息。
用户管理:对用户的资料进行审核。
家政类型管理:管理员可以对家政的类型信息进行添加和修改。
前台功能:
首页功能模块:在首页中可以看到公告、家政人员信息。在系统的首页还可以进行信息的搜索,只有输入标题就可以搜索出需要的信息。
家政人员功能模块:在本界面里可以看到具体的家政服务的详细描述信息。
公告功能模块:在本界面里可以看到公告的信息。
在线评论功能模块:界面里可以发表家政评价。
预约模块:用户在选择喜欢的家政人员信息后可以进行在线预约,相当于填写自己的要求。
我的功能模块:用户可以管理自己的预约信息和收藏信息。
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/1646704575158.jpg'),(2,'picture2','upload/picture2.jpg'),(3,'picture3','upload/picture3.jpg');
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `discussjiazhengrenyuan`
--
DROP TABLE IF EXISTS `discussjiazhengrenyuan`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discussjiazhengrenyuan` (
`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=1646704688928 DEFAULT CHARSET=utf8 COMMENT='家政人员评论表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `discussjiazhengrenyuan`
--
LOCK TABLES `discussjiazhengrenyuan` WRITE;
/*!40000 ALTER TABLE `discussjiazhengrenyuan` DISABLE KEYS */;
INSERT INTO `discussjiazhengrenyuan` VALUES (71,'2022-03-08 01:16:51',1,1,'用户名1','评论内容1','回复内容1'),(72,'2022-03-08 01:16:51',2,2,'用户名2','评论内容2','回复内容2'),(73,'2022-03-08 01:16:51',3,3,'用户名3','评论内容3','回复内容3'),(74,'2022-03-08 01:16:51',4,4,'用户名4','评论内容4','回复内容4'),(75,'2022-03-08 01:16:51',5,5,'用户名5','评论内容5','回复内容5'),(76,'2022-03-08 01:16:51',6,6,'用户名6','评论内容6','回复内容6'),(1646704688927,'2022-03-08 01:58:07',1646704539369,1646704647456,'111','111','');
/*!40000 ALTER TABLE `discussjiazhengrenyuan` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jiazhengleixing`
--
DROP TABLE IF EXISTS `jiazhengleixing`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jiazhengleixing` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`jiazhengleixing` varchar(200) NOT NULL COMMENT '家政类型',
PRIMARY KEY (`id`),
UNIQUE KEY `jiazhengleixing` (`jiazhengleixing`)
) ENGINE=InnoDB AUTO_INCREMENT=1646704489111 DEFAULT CHARSET=utf8 COMMENT='家政类型';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jiazhengleixing`
--
LOCK TABLES `jiazhengleixing` WRITE;
/*!40000 ALTER TABLE `jiazhengleixing` DISABLE KEYS */;
INSERT INTO `jiazhengleixing` VALUES (21,'2022-03-08 01:16:51','家政类型1'),(22,'2022-03-08 01:16:51','家政类型2'),(23,'2022-03-08 01:16:51','家政类型3'),(24,'2022-03-08 01:16:51','家政类型4'),(25,'2022-03-08 01:16:51','家政类型5'),(26,'2022-03-08 01:16:51','家政类型6'),(1646704489110,'2022-03-08 01:54:48','清洁');
/*!40000 ALTER TABLE `jiazhengleixing` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jiazhengrenyuan`
--
DROP TABLE IF EXISTS `jiazhengrenyuan`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jiazhengrenyuan` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`jiazhengxingming` varchar(200) DEFAULT NULL COMMENT '家政姓名',
`jiazhengzhanghao` varchar(200) DEFAULT NULL COMMENT '家政账号',
`jiazhengleixing` varchar(200) DEFAULT NULL COMMENT '家政类型',
`mima` varchar(200) DEFAULT NULL COMMENT '密码',
`lianxifangshi` varchar(200) DEFAULT NULL COMMENT '联系方式',
`tupian` varchar(200) DEFAULT NULL COMMENT '图片',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`zuigaoxueli` varchar(200) DEFAULT NULL COMMENT '最高学历',
`tezhang` longtext COMMENT '特长',
`nianling` varchar(200) DEFAULT NULL COMMENT '年龄',
`fuwujine` varchar(200) NOT NULL COMMENT '服务金额',
`gongzuojingyan` longtext COMMENT '工作经验',
`clicktime` datetime DEFAULT NULL COMMENT '最近点击时间',
`clicknum` int(11) DEFAULT '0' COMMENT '点击次数',
PRIMARY KEY (`id`),
UNIQUE KEY `jiazhengzhanghao` (`jiazhengzhanghao`)
) ENGINE=InnoDB AUTO_INCREMENT=1646704539370 DEFAULT CHARSET=utf8 COMMENT='家政人员';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jiazhengrenyuan`
--
LOCK TABLES `jiazhengrenyuan` WRITE;
/*!40000 ALTER TABLE `jiazhengrenyuan` DISABLE KEYS */;
/*!40000 ALTER TABLE `jiazhengrenyuan` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jiazhengyuyue`
--
DROP TABLE IF EXISTS `jiazhengyuyue`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jiazhengyuyue` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`jiazhengxingming` varchar(200) DEFAULT NULL COMMENT '家政姓名',
`jiazhengzhanghao` varchar(200) DEFAULT NULL COMMENT '家政账号',
`jiazhengleixing` varchar(200) DEFAULT NULL COMMENT '家政类型',
`lianxifangshi` varchar(200) DEFAULT NULL COMMENT '联系方式',
`tupian` varchar(200) DEFAULT NULL COMMENT '图片',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`fuwujine` varchar(200) NOT NULL COMMENT '服务金额',
`yonghuzhanghao` varchar(200) DEFAULT NULL COMMENT '用户账号',
`yonghuxingming` varchar(200) DEFAULT NULL COMMENT '用户姓名',
`lianxidianhua` varchar(200) DEFAULT NULL COMMENT '联系电话',
`gongzidizhi` varchar(200) DEFAULT NULL COMMENT '工资地址',
`yuyueshijian` datetime DEFAULT NULL COMMENT '预约时间',
`shangbanshijian` varchar(200) DEFAULT NULL COMMENT '上班时间',
`gongzixuqiu` longtext COMMENT '工资需求',
`sfsh` varchar(200) DEFAULT '否' COMMENT '是否审核',
`shhf` longtext COMMENT '审核回复',
`ispay` varchar(200) DEFAULT '未支付' COMMENT '是否支付',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1646704713720 DEFAULT CHARSET=utf8 COMMENT='家政预约';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jiazhengyuyue`
--
LOCK TABLES `jiazhengyuyue` WRITE;
/*!40000 ALTER TABLE `jiazhengyuyue` DISABLE KEYS */;
/*!40000 ALTER TABLE `jiazhengyuyue` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `news`
--
DROP TABLE IF EXISTS `news`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `news` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`title` varchar(200) NOT NULL COMMENT '标题',
`introduction` longtext COMMENT '简介',
`picture` varchar(200) NOT NULL COMMENT '图片',
`content` longtext NOT NULL COMMENT '内容',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1646704563278 DEFAULT CHARSET=utf8 COMMENT='系统公告';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `news`
--
LOCK TABLES `news` WRITE;
/*!40000 ALTER TABLE `news` DISABLE KEYS */;
/*!40000 ALTER TABLE `news` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `storeup`
--
DROP TABLE IF EXISTS `storeup`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `storeup` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`userid` bigint(20) NOT NULL COMMENT '用户id',
`refid` bigint(20) DEFAULT NULL COMMENT '收藏id',
`tablename` varchar(200) DEFAULT NULL COMMENT '表名',
`name` varchar(200) NOT NULL COMMENT '收藏名称',
`picture` varchar(200) NOT NULL COMMENT '收藏图片',
`type` varchar(200) DEFAULT '1' COMMENT '类型(1:收藏,21:赞,22:踩)',
`inteltype` varchar(200) DEFAULT NULL COMMENT '推荐类型',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1646704684681 DEFAULT CHARSET=utf8 COMMENT='收藏表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `storeup`
--
LOCK TABLES `storeup` WRITE;
/*!40000 ALTER TABLE `storeup` DISABLE KEYS */;
INSERT INTO `storeup` VALUES (1646704658307,'2022-03-08 01:57:37',1646704647456,34,'jiazhengrenyuan','家政姓名4','upload/jiazhengrenyuan_tupian4.jpg','1',NULL),(1646704684680,'2022-03-08 01:58:03',1646704647456,1646704539369,'jiazhengrenyuan','李月','upload/1646704517528.jpg','1',NULL);
/*!40000 ALTER TABLE `storeup` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `token`
--
DROP TABLE IF EXISTS `token`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `token` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`userid` bigint(20) NOT NULL COMMENT '用户id',
`username` varchar(100) NOT NULL COMMENT '用户名',
`tablename` varchar(100) DEFAULT NULL COMMENT '表名',
`role` varchar(100) DEFAULT NULL COMMENT '角色',
`token` varchar(200) NOT NULL COMMENT '密码',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
`expiratedtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '过期时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='token表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `token`
--
LOCK TABLES `token` WRITE;
/*!40000 ALTER TABLE `token` DISABLE KEYS */;
INSERT INTO `token` VALUES (1,1,'abo','users','管理员','c2eo84xokr3g07khrokut04h2o52jx6y','2022-03-08 01:54:34','2022-03-08 02:54:35'),(2,1646704647456,'111','yonghu','用户','vb81hswie1kt11vl75etkx8jmlb9w5cx','2022-03-08 01:57:34','2022-03-08 02:59:18'),(3,1646704539369,'111','jiazhengrenyuan','家政人员','lmgzhfwkkl4rlj45k553pjr1hr3hiqlv','2022-03-08 01:58:54','2022-03-08 02:59:35');
/*!40000 ALTER TABLE `token` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`username` varchar(100) NOT NULL COMMENT '用户名',
`password` varchar(100) NOT NULL COMMENT '密码',
`role` varchar(100) DEFAULT '管理员' COMMENT '角色',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='用户表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'abo','abo','管理员','2022-03-08 01:16:51');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `yonghu`
--
DROP TABLE IF EXISTS `yonghu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `yonghu` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`yonghuzhanghao` varchar(200) NOT NULL COMMENT '用户账号',
`yonghuxingming` varchar(200) NOT NULL COMMENT '用户姓名',
`mima` varchar(200) NOT NULL COMMENT '密码',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`nianling` int(11) DEFAULT NULL COMMENT '年龄',
`lianxidianhua` varchar(200) DEFAULT NULL COMMENT '联系电话',
PRIMARY KEY (`id`),
UNIQUE KEY `yonghuzhanghao` (`yonghuzhanghao`)
) ENGINE=InnoDB AUTO_INCREMENT=1646704647457 DEFAULT CHARSET=utf8 COMMENT='用户';
/*!40101 SET character_set_client = @saved_cs_client */;