I
摘 要
进入 21 世纪网络和计算机得到了飞速发展,并和生活进行了紧密的结合。目前,
网络的运行速度以达到了千兆,覆盖范围更是深入到生活中的角角落落。这就促使
二手交易网站的发展。二手交易网站可以实现远程购物,远程选择喜欢的商品和随
时追踪订单的状态。二手交易网站给人们带来前所未有的体验,满足了新时代人们
的购物需求,所以网上二手交易模式得到大力发展。
本系统为基于 Springboot 的华强北商城二手手机管理系统,是采用计算机和网
络技术进行开发的在线交易平台,可以实现商品的展示、购买、评价以及销售等。
本系统采用 Java 语言,数据库为 Mysql,运行环境为 Idea。使用角色分为注册用户、
游客、管理员、商家,本系统的功能包括新闻管理、商品信息展示以及管理、注册
用户管理、订单管理、商品评价同时还可以管理购物车。其中,游客负责浏览信息,
注册用户可以购买商品、评价商品、管理订单,商家可以销售商品管理订单,管理
员可以管理所有功能以及个人信息。本系统实现了商品的在线销售与购买,方便了
购买者和销售者双方的利益,提高销量和购买效率,更符合现代人生活。
关键词:购物车,用户注册,商品信息管理,订单管理,Java 语言
II
Abstract
In the 21st century, network and computer have developed rapidly and are closely
combined with life. At the current speed, the network has reached the middle of life. This
promotes the development of second-hand trading websites. The second-hand trading
website can realize remote shopping, remote selection of favorite goods and tracking the
status of orders at any time. Second hand trading websites have brought unprecedented
experience to people and met people's shopping needs in the new era, so the online
second-hand trading mode has been vigorously developed.
This system is a second-hand mobile phone management system of Huaqiangbei mall
based on springboot. It is an online trading platform developed by using computer and
network technology. It can realize the display, purchase, evaluation and sales of goods.
The system adopts Java language, the database is MySQL and the running environment is
idea. The use roles are divided into registered users, tourists, administrators and
merchants. The functions of this system include news management, commodity
information display and management, registered user management, order management
and commodity evaluation. At the same time, it can also manage shopping carts. Among
them, tourists are responsible for browsing information. Registered users can buy goods,
evaluate goods and manage orders. Merchants can sell goods and manage orders.
Administrators can manage all functions and personal information. The system realizes
the online sales and purchase of goods, facilitates the interests of both buyers and sellers,
improves the sales volume and purchase efficiency, and is more in line with modern
people's life.
Keywords: shopping cart, user registration, commodity information management, order
management, Java language
III
目 录
摘 要 ..................................................................................................................................I
Abstract ...............................................................................................................................II
第 1 章 绪论......................................................................................................................1
1.1 课题研究背景 ............................................................................................................1
1.2 课题现状与实现意义 ................................................................................................1
1.3 课题内容 ....................................................................................................................2
1.4 论文结构安排 ............................................................................................................2
第 2 章 系统分析..............................................................................................................3
2.1 系统使用相关技术分析 ............................................................................................3
2.1.1Java 语言介绍.......................................................................................................3
2.1.2Mysql 数据库介绍................................................................................................3
2.1.3Tomcat 服务器介绍..............................................................................................4
2.1.4 Springboot 框架介绍 ...........................................................................................4
2.1.5 Vue 框架介绍 ......................................................................................................5
2.1.6 Idea 运行软件介绍 ..............................................................................................5
2.2 系统可行性分析 ........................................................................................................6
2.2.1 系统经济可行性分析 ..........................................................................................6
2.2.2 系统技术可行性分析 ..........................................................................................6
2.2.3 系统操作可行性分析 ..........................................................................................7
2.3 系统需求分析 ............................................................................................................7
2.3.1 传统销售系统优缺点分析 ..................................................................................7
2.3.2 本基于 Springboot 的华强北商城二手手机管理系统分析...............................8
2.4 系统功能分析 ............................................................................................................8
2.5 系统性能分析 ............................................................................................................9
2.6 用例图 ......................................................................................................................10
2.7 系统业务流程 ..........................................................................................................10
第 3 章 系统设计............................................................................................................14
IV
3.1 系统设计流程分析 ..................................................................................................14
3.2 系统详细设计和设计原则 ......................................................................................14
3.3 系统体系结构 ..........................................................................................................15
3.4 系统功能结构 ..........................................................................................................16
3.5 系统的界面设计 ......................................................................................................16
3.5.1 界面设计的原则................................................................................................16
3.5.2 信息输入功能的设计原则 ................................................................................17
3.6 数据库设计 ..............................................................................................................17
3.6.1ER 图设计...........................................................................................................18
3.6.2 数据库表设计....................................................................................................21
第 4 章 系统实现..............................................................................................................28
4.1 用户注册功能的界面实现 ......................................................................................28
4.2 登录功能的界面实现 ..............................................................................................29
4.3 管理员功能的设计实现 ..........................................................................................30
4.3.1 用户管理功能的实现界面 ................................................................................30
4.3.2 用户中心管理功能的实现界面 .......................................................................31
4.3.3 新闻信息管理功能的实现界面 ........................................................................31
4.3.4 商品收藏管理功能的实现界面 .......................................................................32
4.3.5 订单管理功能的实现界面 ...............................................................................32
4.3.6 商品信息管理功能的界面实现 .......................................................................33
4.4 用户角色功能的界面实现 ......................................................................................34
4.4.1 商品浏览功能的界面实现 ................................................................................34
4.4.2 提交订单功能的实现界面 ................................................................................34
4.4.3 购物车管理中心功能的实现界面 ....................................................................35
4.4.4 订单管理中心功能的实现界面 ........................................................................35
4.5 商家角色功能的实现界面 ......................................................................................36
第 5 章 系统测试..............................................................................................................37
5.1 系统测试的方法 ......................................................................................................37
5.2 测试环境与测试条件 ..............................................................................................37
V
5.3 实例测试表格 ..........................................................................................................37
5.4 测试总结 ..................................................................................................................38
总 结..................................................................................................................................39
致 谢................................................................................................................................40
参考文献............................................................................................................................41