基于微信小程序的校园外卖平台设计与实现+ssm

本文详细描述了如何利用信息技术构建一个校园外卖平台,包括系统分析(可行性、性能和界面)、设计(功能与数据库),以及管理员、用户和商家的管理功能。使用SSM框架进行后台开发,结合微信小程序和MYSQL数据库,确保系统的稳定性和实用性。
摘要由CSDN通过智能技术生成

摘要

随着信息技术在管理上越来越深入而广泛的应用,管理信息系统的实施在技术上已逐步成熟。本文介绍了校园外卖平台的开发全过程。通过分析校园外卖平台管理的不足,创建了一个计算机管理校园外卖平台的方案。文章介绍了校园外卖平台的系统分析部分,包括可行性分析等,系统设计部分主要介绍了系统功能设计和数据库设计。本校园外卖平台有管理员,用户,商家。管理员功能有个人中心,用户管理,商家管理,菜品分类管理,菜品信息管理,购买菜品管理,订单信息管理,订单领取管理,系统管理。用户和商家都可以在微信小程序端注册登录,商家可以对菜品进行管理,查看到某个用户购买菜品,订单和订单领取信息。用户可以查看所有菜品,并且购买,查看订单等操作。因而具有一定的实用性。本站后台采用Java的SSM框架进行后台管理开发,可以在浏览器上登录进行后台数据方面的管理,MySQL作为本地数据库,微信小程序用到了微信开发者工具,充分保证系统的稳定性。系统具有界面清晰、操作简单,功能齐全的特点,使得校园外卖平台管理工作系统化、规范化。

关键词:校园外卖平台;SSM框架;MYSQL数据库

Abstract

With the more and more in-depth and extensive application of information technology in management, the implementation of management information system has gradually matured in technology. This article introduces the entire development process of the campus take-out platform. By analyzing the deficiencies in the management of the campus take-out platform, a computer management scheme of the campus take-out platform was created. The article introduces the system analysis part of the campus food delivery platform, including feasibility analysis, etc. The system design part mainly introduces the system function design and database design. The campus food delivery platform has administrators, users, and merchants. The administrator functions include personal center, user management, business management, dish classification management, dish information management, purchase dish management, order information management, order collection management, and system management. Both the user and the merchant can register and log in on the WeChat applet, and the merchant can manage the dishes, and view the information about a user’s purchase of dishes, orders and order collection. Users can view all dishes, purchase, view orders and other operations. Therefore, it has certain practicality. The background of this site uses the Java SSM framework for background management and development. You can log in on the browser to manage the background data. MySQL is used as the local database, and the WeChat applet uses the WeChat developer tool to fully ensure the stability of the system. The system has the characteristics of clear interface, simple operation and complete functions, which makes the management of the campus take-out platform systematized and standardized.
Keywords:Campus takeaway platform; SSM framework; MYSQL database

目录

1系统概述 1
1.1 研究背景 1
1.2研究目的 1
1.3系统设计思想 1
2相关技术 2
2.1微信小程序 2
2.2 MYSQL数据库 3
2.3 uni-app 3
2.4 SSM框架简介 4
3系统分析 5
3.1可行性分析 5
3.1.1技术可行性 6
3.1.2经济可行性 6
3.1.3操作可行性 6
3.2系统性能分析 6
3.2.1 系统安全性 6
3.2.2 数据完整性 7
3.3系统界面分析 7
3.4系统流程和逻辑 8
4系统概要设计 9
4.1概述 9
4.2系统结构 10
4.3.数据库设计 10
4.3.1数据库实体 10
4.3.2数据库设计表 12
5系统详细实现 16
5.1 管理员模块的实现 16
5.1.1 用户信息管理 16
5.1.2 商家信息管理 16
5.1.3 菜品信息管理 17
5.1.4 菜品分类管理 18
5.2 小程序用户模块的实现 18
5.2.1 首页 18
5.2.2 我的 19
5.2.3 新增菜品 20
6系统测试 22
6.1概念和意义 22
6.2特性 22
6.3重要性 23
6.4测试方法 23
6.5 功能测试 23
6.6可用性测试 24
6.7性能测试 24
6.8测试分析 25
6.9测试结果分析 25
结论 25
致谢语 26
参考文献 26

1 系统概要设计

4.1概述
本系统后台采用B/S结构(Browser/Server,浏览器/服务器结构)和基于Web服务两种模式,是一个适用于Internet环境下的模型结构。只要用户能连上Internet,便可以在任何时间、任何地点使用。系统工作原理图如图4-1所示:
在这里插入图片描述

图4-1系统工作原理图
4.2系统结构
设计的功能结构图如下图所示:
在这里插入图片描述

图4-2功能结构图

4.3.数据库设计
4.3.1数据库实体
概念设计的目标是设计出反映某个组织部门信息需求的数据库系统概念模式,数据库系统的概念模式独立于数据库系统的逻辑结构、独立于数据库管理系统(DBMS)、独立于计算机系统。
概念模式的设计方法是在需求分析的基础上,用概念数据模型(例如E-R模型)表示数据及数据之间的相互联系,设计出反映用户信息需求和处理需求的数据库系统概念模式。概念设计的目标是准确描述应用领域的信息模式,支持用户的各种应用,这样既容易转换为数据库系统逻辑模式,又容易为用户理解。数据库系统概念模式是面向现实世界的数据模型,不能直接用于数据库系统的实现。在此阶段,用户可以参与和评价数据库系统的设计,从而有利于保证数据库系统的设计与用户的需求相吻合。在概念模式的设计中,E-R模型法是最常见的设计方法。本系统的E-R图如下图所示:
(1) 菜品分类信息的实体属性图如下:
在这里插入图片描述

图4.12 菜品分类信息实体属性图
(2)管理员实体属性图如图4.13所示:
在这里插入图片描述

图4.13 管理员实体属性图
(3)用户信息实体属性图如图4.14所示:
在这里插入图片描述

图4.14 用户信息实体属性图
4.3.2数据库设计表
校园外卖平台需要后台数据库,下面介绍数据库中的各个表的详细信息:

1通知公告表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 title String 标题 是
4 introduction String 简介 是
5 picture String 图片 是
6 content String 内容 是
2订单信息表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 dingdanbianhao String 订单编号 是
4 caipinmingcheng String 菜品名称 是
5 tupian String 图片 是
6 shangjiazhanghao String 商家账号 是
7 shangjiaxingming String 商家姓名 是
8 dianpuming String 店铺名 是
9 jiage String 价格 是
10 shuliang String 数量 是
11 zongjine String 总金额 是
12 zhuangtai String 状态 是
13 lingqushijian datetime 领取时间 是
14 beizhu String 备注 是
15 zhanghao String 账号 是
16 xingming String 姓名 是
17 shouji String 手机 是
18 dizhi String 地址 是
19 userid Integer 用户id 是
3收藏表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 userid Integer 用户id 是
4 refid Integer 收藏id 是
5 tablename String 表名 是
6 name String 收藏名称 是
7 picture String 收藏图片 是
8 type String 类型(1:收藏,2:赞,3:踩) 是
4菜品信息表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 caipinmingcheng String 菜品名称 是
4 caipinfenlei String 菜品分类 是
5 kouwei String 口味 是
6 tupian String 图片 是
7 jiage float 价格 是
8 caipinjieshao String 菜品介绍 是
9 shangjiazhanghao String 商家账号 是
10 shangjiaxingming String 商家姓名 是
11 dianpuming String 店铺名 是
12 clicktime datetime 最近点击时间 是
13 clicknum Integer 点击次数 是
14 userid Integer 用户id 是
5商家表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 shangjiazhanghao String 商家账号 是
4 mima String 密码 是
5 shangjiaxingming String 商家姓名 是
6 dianpuming String 店铺名 是
7 lianxifangshi String 联系方式 是
8 shangjiatupian String 商家图片 是
9 dianpudizhi String 店铺地址 是
6管理员表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 username String 用户名 是
3 password String 密码 是
4 role String 角色 是
5 addtime Date 新增时间 是
7菜品分类表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 caipinfenlei String 菜品分类 是
8菜品信息评论表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 refid Integer 关联表id 是
4 userid Integer 用户id 是
5 nickname String 用户名 是
6 content String 评论内容 是
7 reply String 回复内容 是
9订单领取表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 dingdanbianhao String 订单编号 是
4 caipinmingcheng String 菜品名称 是
5 tupian String 图片 是
6 shangjiazhanghao String 商家账号 是
7 shangjiaxingming String 商家姓名 是
8 dianpuming String 店铺名 是
9 jiage String 价格 是
10 shuliang String 数量 是
11 zongjine String 总金额 是
12 shifoulingqu String 是否领取 是
13 lingqushijian datetime 领取时间 是
14 beizhu String 备注 是
15 zhanghao String 账号 是
16 xingming String 姓名 是
17 shouji String 手机 是
18 dizhi String 地址 是
19 sfsh String 是否审核 是
20 shhf String 审核回复 是
21 userid Integer 用户id 是
10用户表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 zhanghao String 账号 是
4 mima String 密码 是
5 xingming String 姓名 是
6 nianling Integer 年龄 是
7 xingbie String 性别 是
8 shouji String 手机 是
9 zhaopian String 照片 是
10 dizhi String 地址 是
11购买菜品表
序号 列名 数据类型 说明 允许空
1 Id Int id 否
2 addtime Date 创建时间 是
3 dingdanbianhao String 订单编号 是
4 caipinmingcheng String 菜品名称 是
5 tupian String 图片 是
6 jiage Integer 价格 是
7 shuliang Integer 数量 是
8 zongjine Integer 总金额 是
9 xiadanshijian datetime 下单时间 是
10 beizhu String 备注 是
11 shangjiazhanghao String 商家账号 是
12 shangjiaxingming String 商家姓名 是
13 dianpuming String 店铺名 是
14 zhanghao String 账号 是
15 xingming String 姓名 是
16 shouji String 手机 是
17 dizhi String 地址 是
18 ispay String 是否支付 是
19 userid Integer 用户id 是

2 系统详细实现

5.1 管理员模块的实现
5.1.1 用户信息管理
管理员可以对用户信息进行添加,修改,删除,查询操作。具体界面的展示如图5.1所示。
在这里插入图片描述

图5.1 用户管理界面
5.1.2 商家信息管理
管理员可以对商家信息进行添加,修改,删除,查询操作。具体界面如图5.2所示。
在这里插入图片描述

图5.2 商家管理界面
5.1.3 菜品信息管理
管理员可以对商家发布的菜品信息查询和删除操作。界面如下图所示:
在这里插入图片描述

图5.3 菜品信息界面
5.1.4 菜品分类管理
管理员可以对菜品分类信息进行添加,修改,删除,查询操作。界面如下图所示:
在这里插入图片描述

图5.4 菜品分类管理界面

5.2 小程序用户模块的实现
5.2.1 首页
小程序用户登录后可以在首页上看到相关信息。界面如下图所示:
在这里插入图片描述

图5.5 首页界面
5.2.2 我的
用户在我的里面可以操作关于我的各种操作。
在这里插入图片描述

图5.6 我的界面
5.2.3 新增菜品
商家可以点击我的,菜品信息,点击新增,增加自己的菜品信息。界面如下图所示:
在这里插入图片描述

图5.6 新增菜品界面

  • 23
    点赞
  • 24
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值