赞
踩
管理员,用户,配送员三类角色。
后台实现了个人中心,用户管理,公告管理,配送员管理,快递信息管理,配送快递管理,配送信息管理,配送完成管理,确认完成管理,系统管理。
前台实现:
首页:微信小程序输入正确的账号密码后就会默认进入首页显示界面。首页主 要有轮播图,平台公告,以及下面的导航为主要组成部分。
快递信息:用户点击快递信息可以查看自己的快递信息,还可以搜索自己的快 递。
配送信息:用户可以在配送信息里面查看配送信息。
我的:我的里面主要是可以进行退出,点击小齿轮就可以选择退出当前账户, 也可以快递信息,配送信息等。
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ssm0y6fc` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
USE `ssm0y6fc`;
--
-- 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`
--
DROP TABLE IF EXISTS `kuaidixinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `kuaidixinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`kuaididanhao` varchar(200) DEFAULT NULL COMMENT '快递单号',
`kuaidimingcheng` varchar(200) DEFAULT NULL COMMENT '快递名称',
`tupian` varchar(200) DEFAULT NULL COMMENT '图片',
`wuliu` longtext COMMENT '物流',
`yonghuzhanghao` varchar(200) DEFAULT NULL COMMENT '用户账号',
`yonghuxingming` varchar(200) DEFAULT NULL COMMENT '用户姓名',
`yonghushouji` varchar(200) DEFAULT NULL COMMENT '用户手机',
`fahuodi` varchar(200) DEFAULT NULL COMMENT '发货地',
`kuaidiweizhi` varchar(200) DEFAULT NULL COMMENT '快递位置',
`gengxinshijian` datetime DEFAULT NULL COMMENT '更新时间',
`userid` bigint(20) DEFAULT NULL COMMENT '用户id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8 COMMENT='快递信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `kuaidixinxi`
--
--
-- 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=87 DEFAULT CHARSET=utf8 COMMENT='平台公告';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `news`
--
DROP TABLE IF EXISTS `peisongkuaidi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `peisongkuaidi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`kuaididanhao` varchar(200) DEFAULT NULL COMMENT '快递单号',
`kuaidimingcheng` varchar(200) DEFAULT NULL COMMENT '快递名称',
`tupian` varchar(200) DEFAULT NULL COMMENT '图片',
`yonghuzhanghao` varchar(200) DEFAULT NULL COMMENT '用户账号',
`yonghuxingming` varchar(200) DEFAULT NULL COMMENT '用户姓名',
`yonghushouji` varchar(200) DEFAULT NULL COMMENT '用户手机',
`kuaidiweizhi` varchar(200) DEFAULT NULL COMMENT '快递位置',
`peisongleixing` varchar(200) NOT NULL COMMENT '配送类型',
`zhidingweizhi` varchar(200) NOT NULL COMMENT '指定位置',
`peisongfei` int(11) DEFAULT NULL COMMENT '配送费',
`fabushijian` datetime DEFAULT NULL COMMENT '发布时间',
`yaoqiushijian` datetime DEFAULT NULL COMMENT '要求时间',
`yonghubeizhu` longtext COMMENT '用户备注',
`peisongzhuangtai` varchar(200) DEFAULT NULL COMMENT '配送状态',
`crossuserid` bigint(20) DEFAULT NULL COMMENT '跨表用户id',
`crossrefid` bigint(20) DEFAULT NULL COMMENT '跨表主键id',
`userid` bigint(20) DEFAULT NULL COMMENT '用户id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8 COMMENT='配送快递';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `peisongkuaidi`
--
LOCK TABLES `peisongkuaidi` WRITE;
/*!40000 ALTER TABLE `peisongkuaidi` DISABLE KEYS */;
INSERT INTO `peisongkuaidi` VALUES (41,'2022-03-15 01:29:30','快递单号1','快递名称1','upload/peisongkuaidi_tupian1.jpg','用户账号1','用户姓名1','用户手机1','快递位置1','上门','指定位置1',1,'2022-03-15 09:29:30','2022-03-15 09:29:30','用户备注1','已接取',1,1,1),(42,'2022-03-15 01:29:30','快递单号2','快递名称2','upload/peisongkuaidi_tupian2.jpg','用户账号2','用户姓名2','用户手机2','快递位置2','上门','指定位置2',2,'2022-03-15 09:29:30','2022-03-15 09:29:30','用户备注2','已接取',2,2,2),(43,'2022-03-15 01:29:30','快递单号3','快递名称3','upload/peisongkuaidi_tupian3.jpg','用户账号3','用户姓名3','用户手机3','快递位置3','上门','指定位置3',3,'2022-03-15 09:29:30','2022-03-15 09:29:30','用户备注3','已接取',3,3,3),(44,'2022-03-15 01:29:30','快递单号4','快递名称4','upload/peisongkuaidi_tupian4.jpg','用户账号4','用户姓名4','用户手机4','快递位置4','上门','指定位置4',4,'2022-03-15 09:29:30','2022-03-15 09:29:30','用户备注4','已接取',4,4,4),(45,'2022-03-15 01:29:30','快递单号5','快递名称5','upload/peisongkuaidi_tupian5.jpg','用户账号5','用户姓名5','用户手机5','快递位置5','上门','指定位置5',5,'2022-03-15 09:29:30','2022-03-15 09:29:30','用户备注5','已接取',5,5,5),(46,'2022-03-15 01:29:30','快递单号6','快递名称6','upload/peisongkuaidi_tupian6.jpg','用户账号6','用户姓名6','用户手机6','快递位置6','上门','指定位置6',6,'2022-03-15 09:29:30','2022-03-15 09:29:30','用户备注6','已接取',6,6,6);
/*!40000 ALTER TABLE `peisongkuaidi` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `peisongwancheng`
--
DROP TABLE IF EXISTS `peisongwancheng`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `peisongwancheng` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`kuaididanhao` varchar(200) DEFAULT NULL COMMENT '快递单号',
`kuaidimingcheng` varchar(200) DEFAULT NULL COMMENT '快递名称',
`tupian` varchar(200) DEFAULT NULL COMMENT '图片',
`yonghuzhanghao` varchar(200) DEFAULT NULL COMMENT '用户账号',
`yonghuxingming` varchar(200) DEFAULT NULL COMMENT '用户姓名',
`yonghushouji` varchar(200) DEFAULT NULL COMMENT '用户手机',
`zhidingweizhi` varchar(200) DEFAULT NULL COMMENT '指定位置',
`peisongfei` varchar(200) DEFAULT NULL COMMENT '配送费',
`jiequshijian` varchar(200) DEFAULT NULL COMMENT '接取时间',
`wanchengshijian` datetime DEFAULT NULL COMMENT '完成时间',
`peisongzhanghao` varchar(200) DEFAULT NULL COMMENT '配送账号',
`peisongyuan` varchar(200) DEFAULT NULL COMMENT '配送员',
`peisongyuanshouji` varchar(200) DEFAULT NULL COMMENT '配送员手机',
`wanchengbeizhu` longtext COMMENT '完成备注',
`querenzhuangtai` varchar(200) DEFAULT NULL COMMENT '确认状态',
`userid` bigint(20) DEFAULT NULL COMMENT '用户id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8 COMMENT='配送完成';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `peisongwancheng`
--
LOCK TABLES `peisongwancheng` WRITE;
/*!40000 ALTER TABLE `peisongwancheng` DISABLE KEYS */;
INSERT INTO `peisongwancheng` VALUES (61,'2022-03-15 01:29:30','快递单号1','快递名称1','upload/peisongwancheng_tupian1.jpg','用户账号1','用户姓名1','用户手机1','指定位置1','配送费1','接取时间1','2022-03-15 09:29:30','配送账号1','配送员1','配送员手机1','完成备注1','已确认',1),(62,'2022-03-15 01:29:30','快递单号2','快递名称2','upload/peisongwancheng_tupian2.jpg','用户账号2','用户姓名2','用户手机2','指定位置2','配送费2','接取时间2','2022-03-15 09:29:30','配送账号2','配送员2','配送员手机2','完成备注2','已确认',2),(63,'2022-03-15 01:29:30','快递单号3','快递名称3','upload/peisongwancheng_tupian3.jpg','用户账号3','用户姓名3','用户手机3','指定位置3','配送费3','接取时间3','2022-03-15 09:29:30','配送账号3','配送员3','配送员手机3','完成备注3','已确认',3),(64,'2022-03-15 01:29:30','快递单号4','快递名称4','upload/peisongwancheng_tupian4.jpg','用户账号4','用户姓名4','用户手机4','指定位置4','配送费4','接取时间4','2022-03-15 09:29:30','配送账号4','配送员4','配送员手机4','完成备注4','已确认',4),(65,'2022-03-15 01:29:30','快递单号5','快递名称5','upload/peisongwancheng_tupian5.jpg','用户账号5','用户姓名5','用户手机5','指定位置5','配送费5','接取时间5','2022-03-15 09:29:30','配送账号5','配送员5','配送员手机5','完成备注5','已确认',5),(66,'2022-03-15 01:29:30','快递单号6','快递名称6','upload/peisongwancheng_tupian6.jpg','用户账号6','用户姓名6','用户手机6','指定位置6','配送费6','接取时间6','2022-03-15 09:29:30','配送账号6','配送员6','配送员手机6','完成备注6','已确认',6);
/*!40000 ALTER TABLE `peisongwancheng` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `peisongxinxi`
--
DROP TABLE IF EXISTS `peisongxinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `peisongxinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`kuaididanhao` varchar(200) DEFAULT NULL COMMENT '快递单号',
`kuaidimingcheng` varchar(200) DEFAULT NULL COMMENT '快递名称',
`tupian` varchar(200) DEFAULT NULL COMMENT '图片',
`yonghuzhanghao` varchar(200) DEFAULT NULL COMMENT '用户账号',
`yonghuxingming` varchar(200) DEFAULT NULL COMMENT '用户姓名',
`yonghushouji` varchar(200) DEFAULT NULL COMMENT '用户手机',
`kuaidiweizhi` varchar(200) DEFAULT NULL COMMENT '快递位置',
`zhidingweizhi` varchar(200) DEFAULT NULL COMMENT '指定位置',
`peisongfei` varchar(200) DEFAULT NULL COMMENT '配送费',
`jiequshijian` datetime DEFAULT NULL COMMENT '接取时间',
`peisongzhanghao` varchar(200) DEFAULT NULL COMMENT '配送账号',
`peisongyuan` varchar(200) DEFAULT NULL COMMENT '配送员',
`peisongyuanshouji` varchar(200) DEFAULT NULL COMMENT '配送员手机',
`peisongwuliu` longtext COMMENT '配送物流',
`dingdanzhuangtai` varchar(200) DEFAULT NULL COMMENT '订单状态',
`userid` bigint(20) DEFAULT NULL COMMENT '用户id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8 COMMENT='配送信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `peisongxinxi`
--
--
-- Table structure for table `peisongyuan`
--
DROP TABLE IF EXISTS `peisongyuan`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `peisongyuan` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`peisongzhanghao` varchar(200) NOT NULL COMMENT '配送账号',
`mima` varchar(200) NOT NULL COMMENT '密码',
`peisongyuan` varchar(200) NOT NULL COMMENT '配送员',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`touxiang` varchar(200) DEFAULT NULL COMMENT '头像',
`peisongyuanshouji` varchar(200) DEFAULT NULL COMMENT '配送员手机',
`shenfenzheng` varchar(200) DEFAULT NULL COMMENT '身份证',
PRIMARY KEY (`id`),
UNIQUE KEY `peisongzhanghao` (`peisongzhanghao`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COMMENT='配送员';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `peisongyuan`
--
DROP TABLE IF EXISTS `querenwancheng`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `querenwancheng` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`kuaididanhao` varchar(200) DEFAULT NULL COMMENT '快递单号',
`kuaidimingcheng` varchar(200) DEFAULT NULL COMMENT '快递名称',
`tupian` varchar(200) DEFAULT NULL COMMENT '图片',
`yonghuzhanghao` varchar(200) DEFAULT NULL COMMENT '用户账号',
`peisongzhanghao` varchar(200) DEFAULT NULL COMMENT '配送账号',
`wanchengshijian` varchar(200) DEFAULT NULL COMMENT '完成时间',
`querenshijian` datetime DEFAULT NULL COMMENT '确认时间',
`peisongpingfen` varchar(200) DEFAULT NULL COMMENT '配送评分',
`peisongpingjia` longtext COMMENT '配送评价',
`userid` bigint(20) DEFAULT NULL COMMENT '用户id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8 COMMENT='确认完成';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `querenwancheng`
--
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 DEFAULT CHARSET=utf8 COMMENT='token表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `token`
--
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`
--
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 '用户账号',
`mima` varchar(200) NOT NULL COMMENT '密码',
`yonghuxingming` varchar(200) DEFAULT NULL COMMENT '用户姓名',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`nianling` varchar(200) DEFAULT NULL COMMENT '年龄',
`touxiang` varchar(200) DEFAULT NULL COMMENT '头像',
`yonghushouji` varchar(200) DEFAULT NULL COMMENT '用户手机',
PRIMARY KEY (`id`),
UNIQUE KEY `yonghuzhanghao` (`yonghuzhanghao`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COMMENT='用户';
/*!40101 SET character_set_client = @saved_cs_client */;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。