毕业设计
校园 O2O 超市系统设计与实现
Design and Implementation of the Campus O2O
Supermarket System
所在院(系):
学 生 姓 名 :
指 导 老 师 :
研究起止日期:
摘 要
O2O(Online to Offline)称为线上线下模式,通过这种模式,人们可以足不出户就能寻找自己
所需的物品,O2O 的发展满足了市场的需求。结合了校园学习生活的特点以及学生的消费习惯,制
定目标为送货上门、短时送达以及实现线上下单、线下交易。极大程度上便利学生对超市物品的需
求,为繁重紧张的学习工作带来舒适便捷的体验。
本系统采用 B/S 模式,采用 Java 作为后端开发工具,采用 Webstorm 作为前端页面开发工具,
数据库采用 MySQL,以 Tomcat 为部署服务器。本系统主要有三种模块:游客模块、卖家模块、买
家模块。实现的功能主要有用户注册登录、商品管理、订单管理、购物车管理、地址管理等等。
【关键词】:O2O;MySQL;电子商务
Abstract
Online to Offline (O2O) ,With the help of O2O, people can find their wanted materials at home, in
other words, the development of O2O meets the market demand. The O2O system in this paper, taking
students' study and life features and consuming habits into consideration, achieves functions of door
delivery swiftly, order placing online, and trade offline. The system significantly facilitates students'
supermarket shopping and gives them comfortable and convenient experience.
The system adopts B/S design mode, Java for background developing, webstorm for foreground
developing, MySql as the database, and Tomcat as the server. The system consists of visitor module, seller
module, and purchaser module and has functions including login and registration of sellers and purchasers,
goods management, order management, shopping cartand address management.
【Key words】: O2O; MySQL;E-commerce
目 录
第 1 章 绪论..................................................................................................................1
1.1 项目背景 .........................................................................................................1
1.2 研究意义 .........................................................................................................1
1.3 研究的内容 .....................................................................................................1
1.4 本章小结..........................................................................................................1
第 2 章 系统开发工具与技术......................................................................................1
2.1 开发平台 .........................................................................................................1
2.2 开发工具和相关技术 .....................................................................................1
2.2.1 Java 技术...............................................................................................1
2.2.2 JavaScript 技术 .....................................................................................1
2.2.3 JQuery 技术 ..........................................................................................1
2.2.4 HTML 技术 ..........................................................................................1
2.2.5 CSS 技术...............................................................................................1
2.2.6 MySQL..................................................................................................1
2.2.7 SSM 框架(Spring、Struts、Mybatis).............................................1
2.3 本章小结 .........................................................................................................1
第 3 章 系统分析..........................................................................................................1
3.1 系统需求分析 .................................................................................................1
3.1.1 性能需求..............................................................................................1
3.1.2 功能需求..............................................................................................1
3.2 数据库需求分析 .............................................................................................1
3.3 可行性分析 .....................................................................................................1
3.3.1 技术可行性..........................................................................................1
3.3.2 经济可行性..........................................................................................1
3.3.3 操作可行性..........................................................................................1
3.4 本章小结 .........................................................................................................1
第 4 章 总体设计..........................................................................................................1
4.1 系统设计目标..................................................................................................1
4.2 数据库设计 .....................................................................................................1
4.2.1 数据库概念结构的设计......................................................................1
4.2.2 数据表的设计......................................................................................1
4.3 系统页面设计 .................................................................................................1
4.3.1 前台页面设计.......................................................................................1
4.3.2 后台页面设计......................................................................................1
4.4 系统功能设计 .................................................................................................1
4.4.1 系统总体图..........................................................................................1
4.4.2 前台模块..............................................................................................1
4.4.3 用户注册和登录流程..........................................................................1
4.4.4 购物流程..............................................................................................1
4.4.5 订单流程..............................................................................................1
4.4.6 后台模块..............................................................................................1
4.5 本章小结 .........................................................................................................1
第 5 章 系统功能实现..................................................................................................1
5.1 前台模块 .........................................................................................................1
5.1.1 用户注册模块.......................................................................................1
5.1.2 用户登录模块......................................................................................1
5.1.3 购物车模块..........................................................................................1
5.1.4 订单生成模块......................................................................................1
5.1.5 我的订单模块......................................................................................1
5.1.6 订单详情模块.......................................................................................1
5.2 后台模块 .........................................................................................................1
5.2.1 管理员管理..........................................................................................1
5.2.2 前台商品发布......................................................................................1
5.2.3 商品管理..............................................................................................1
5.2.4 订单管理..............................................................................................1
5.3 本章小结..............................................................................................................1
第 6 章 系统测试..........................................................................................................1