摘要
为了更好地适应人们购买鲜花的需要,本文提出了一种新的网络鲜花营销体系。本系统由用户模块,商品管理模块,订单管理模块,后端管理模块组成。用户部分实现了用户的注册,登录,个人信息的管理。其中,产品的展示,搜索,详细信息等。订单管理系统实现了用户的订单、付款和查询等操作。后端管理模块包含商品管理,订单管理,用户管理等,便于管理人员管理和操作。
该体系结构采取了前、后两个独立的结构,以 Vue. js为前端,以 SpringBoot为基础,以 RESTful API为基础,以 SpringBoot为基础,以支持 REST风格的 API为基础。该体系结构使得该体系具有很强的可扩展性,能够很好地满足将来的服务需求。在此基础上,采用 Spring Security架构来增强安全性,保证了用户的数据及交易的安全性。
通过本系统的研究与实践,成功地设计并实现了一套完善的网上花店销售系统,为消费者提供了便捷的购物体验,为花店提供了高效的销售渠道。同时,该系统的设计思想和实践经验也为类似电商系统的开发提供了有益的借鉴和参考,具有一定的推广和应用价值。未来,将进一步完善系统的功能和性能,不断优化用户体验,以更好地满足用户和花店的需求。
关键词:网上花店销售系统,SpringBoot,Vue,Mybatis-Plus框架,MySQL数据库
ABSTRACT
This project aims to design and realize a set of online florist sales system based on the SpringBoot framework, in order to meet the needs of modern people for the convenient and efficient purchase of flowers. The system mainly includes user module, commodity management module, order management module and background management module. The user module provides functions of user registration, login and personal information management; the commodity management module includes flower display, search, details page; the order management module enables functions of order ordering, payment, and the background management module includes commodity management, order management and user management to facilitate the administrator to manage and operate the system.
In terms of design, the system adopts the front and rear end separation architecture, the front end uses the Vue.js framework, and the back end uses the SpringBoot framework to provide RESTful API services. Through this architecture, the system has good expansibility and flexibility, and can adapt to the future business development and change. At the same time, the system also introduced the Spring Security framework to strengthen the security, to ensure the security of user information and transactions.
Through the research and practice of this topic, we have successfully designed and realized a set of perfect online florist sales system, which provides consumers with a convenient shopping experience and an efficient sales channel for the florist. At the same time, the design idea and practical experience of the system also provide useful reference and reference for the development of similar e-commerce system, which has certain promotion and application value. In the future, we will further improve the functions and performance of the system, and the user experience will be continuously optimized to better meet the needs of users and florists.
Key words: Online Florist Sales System, SpringBoot, Vue, Mybatis-Plus Framework, MySQL Database
目 录
第一章 绪论
1.1 背景和意义
1.2 国内外研究现状
1.3 论文组织结构
第二章 系统开发技术
2.1 SpringBoot框架
2.2 JSP技术
2.3 ElementUI框架
2.4 Layui框架
2.5 AspectJ Weaver框架
第三章 功能需求分析
3.1 功能需求分析
3.1.1 用户功能需求分析
3.1.2 管理员功能需求分析
3.2 可行性分析
3.2.1 操作可行性分析
3.2.2 技术可行性分析
3.2.3 经济可行性分析
3.3 非功能需求分析
第四章 系统总体设计
4.1 系统功能模块设计
4.2 数据库设计
4.2.1 数据库设计原则
4.2.2 数据库实体属性设计
4.2.3 数据库表设计
第五章 系统实现
5.1 管理员功能模块实现
5.1.1 管理员登录功能实现
5.1.2 个人中心功能实现
5.1.3 用户管理功能实现
5.1.4 分类管理功能实现
5.1.5 鲜花信息管理功能实现
5.1.6 配送管理功能实现
5.1.7 统计管理功能实现
5.1.8 管理员管理功能实现
5.1.9 轮播图管理功能实现
5.1.10 公告管理功能实现
5.1.11 订单功能实现
5.2 用户功能模块实现
5.2.1 登录注册功能实现
5.2.2 个人中心功能实现
5.2.3 查看鲜花信息功能实现
5.2.4 查看公告资讯功能实现
5.2.5 留言反馈功能实现
5.2.6 购物车管理功能实现
5.2.7 地址管理功能实现
5.2.8 订单管理功能实现
5.2.9 收藏管理功能实现
第六章 系统测试
6.1 测试目的
6.2 测试方法
6.3 系统测试
6.4 测试结论
第七章 总结与展望
7.1 总结
7.2 展望
参考文献
致谢
该研究数据库是一个关系型数据库,因而二维表的结构设计尤为重要。二维表格数字模型是关系型数据库里的关系模型。在设计关系模型以前,还应当把握一些常见的关系模型界定。
(1)管理员信息表,用于记录管理员信息,如表4.1所示:
表4.1 管理员信息表
序号
列名
数据类型
说明
允许空
1
user_id
bigint
否
2
username
varchar
用户名
是
3
password
varchar
密码
是
4
varchar
邮箱
是
5
mobile
varchar
手机号
是
6
status
tinyint
状态 0:禁用 1:正常
是
7
create_user_id
bigint
创建者ID
是
8
create_time
datetime
创建时间
是
9
shop_id
bigint
用户所在的商城Id
是
(2)菜单信息表,用于记录菜单信息,如表4.2所示:
表4.2 菜单信息表
序号
列名
数据类型
说明
允许空
1
menu_id
bigint
否
2
parent_id
bigint
父菜单ID,一级菜单为0
是
3
name
varchar
菜单名称
是
4
url
varchar
菜单URL
是
5
perms
varchar
授权(多个用逗号分隔,如:user:list,user:create)
是
6
type
int
类型 0:目录 1:菜单 2:按钮
是
7
icon
varchar
菜单图标
是
8
order_num
int
排序
是
9
menu_id
bigint
是
10
parent_id
bigint
父菜单ID,一级菜单为0
是
11
name
varchar
菜单名称
允许空
(3)用户信息表用于记录用户信息,如表4.3所示:
表4.3 用户信息表
序号
列名
数据类型
说明
允许空
1
varchar
36
ID
否
2
varchar
50
用户昵称
是
3
varchar
50
真实姓名
是
4
varchar
100
用户邮箱
是
5
varchar
255
登录密码
是
6
varchar
50
支付密码
是
7
varchar
50
手机号码
是
8
datetime
修改时间
是
9
datetime
注册时间
是
10
varchar
50
注册IP
是
11
datetime
最后登录时间
是
12
varchar
50
最后登录IP
是
13
varchar
500
备注
是
14
char
1
M(男) or F(女)
是
15
char
10
例如:2009-11-27
是
16
varchar
255
头像图片路径
是
17
int
1
状态 1 正常 0 无效
是
18
int
11
用户积分
是
(4)资讯信息表,用于记录资讯信息,如表4.4所示:
表4.4 资讯表
序号
列名
数据类型
说明
允许空
1
id
bigint
公告id
否
2
shop_id
bigint
店铺id
是
3
title
varchar
公告标题
是
4
content
text
公告内容
是
5
status
tinyint
状态(1:公布 0:撤回)
是
6
is_top
tinyint
是否置顶
是
7
publish_time
timestamp
发布时间
是
8
update_time
timestamp
更新时间
是
(5)订单信息表
用于记录订单信息,如表4.5所示:
表4.5 订单信息表
序号
列名
数据类型
说明
允许空
1
order_id
bigint
订单ID
否
2
shop_id
bigint
店铺id
是
3
prod_name
varchar
产品名称,多个产品将会以逗号隔开
是
4
user_id
varchar
订购用户ID
是
5
order_number
varchar
订购流水号
是
6
total
decimal
总值
是
7
actual_total
decimal
实际总值
是
8
pay_type
int
支付方式 0 手动代付 1 微信支付 2 支付宝
是
9
remarks
varchar
订单备注
是
10
status
int
订单状态 1:待付款 2:待发货 3:待收货 4:待评价 5:成功 6:失败
是
11
dvy_type
varchar
配送类型
是
12
dvy_id
bigint
配送方式ID
是
13
dvy_flow_id
varchar
物流单号
是
14
freight_amount
decimal
订单运费
是
15
addr_order_id
bigint
用户订单地址Id
是
16
product_nums
int
订单鲜花总数
是
17
create_time
datetime
订购时间
是
18
update_time
datetime
订单更新时间
是
19
pay_time
datetime
付款时间
是
20
dvy_time
datetime
发货时间
是
21
finally_time
datetime
完成时间
是
22
cancel_time
datetime
取消时间
是
(6)鲜花信息表
用于记录鲜花信息,如表4.6所示:
表4.6 鲜花信息表
序号
列名
数据类型
说明
允许空
1
prod_id
bigint
产品ID
否
2
prod_name
varchar
鲜花名称
是
3
shop_id
bigint
店铺id
是
4
ori_price
decimal
原价
是
5
price
decimal
现价
是
6
brief
varchar
简要描述,卖点等
是
7
content
text
详细描述
是
8
pic
varchar
鲜花主图
是
9
imgs
varchar
鲜花图片,以,分割
是
10
status
int
默认是1,表示正常状态, -1表示删除, 0下架
是
11
category_id
bigint
鲜花分类
是
12
sold_num
int
销量
是
13
total_stocks
int
总库存
是
14
delivery_mode
json
配送方式json见TransportModeVO
是
15
delivery_template_id
bigint
运费模板id
是
16
create_time
datetime
录入时间
是
17
update_time
datetime
修改时间
是
18
putaway_time
datetime
上架时间
是
19
version
int
版本 乐观锁
是
(7)评价信息表
用于记录评价信息,如表4.7所示:
表4.7 评价信息表
序号
列名
数据类型
说明
允许空
1
Id
Int
id
否
2
yaopin_id
Integer
鲜花
是
3
yonghu_id
Integer
用户
是
4
yaopin_commentback_text
String
评价内容
是
5
insert_time
Date
评价时间
是
6
reply_text
String
回复内容
是
7
update_time
Date
回复时间
是
8
create_time
Date
创建时间
是
系统测试是软件开发过程中的最后一步,也是至关重要的一步。即使经过多次编写和修改,也无法保证系统不会出现错误。系统测试是确保开发的系统在成品发布前运行良好的最后一道关卡。在测试过程中,需要进行全面、细致的测试,覆盖各种情况,以排除潜在错误。
测试方法系统测试方法是软件开发过程中至关重要的一环。常见的系统测试方法包括黑盒测试和白盒测试。黑盒测试关注系统功能和用户体验,测试人员不需要了解内部代码结构,而是根据需求规格说明书进行测试。白盒测试则关注系统内部逻辑和代码覆盖率,测试人员需要了解系统的内部结构和算法。除此之外,还有灰盒测试、回归测试、性能测试等不同类型的测试方法,以确保系统在各种情况下都能正常运行并符合用户需求。
系统测试用户登录测试: 特定的结果使用如下的表6.1。
表6.1 用户登录测试用例
模块名称
测试用例
预期结果
实际结果
是否通过
登录模块
用户名:001 密码:123
弹出错误提示,提示密码错误
弹出错误提示,提示密码错误
通过
登录模块
用户名:123
密码:123
弹出错误提示,提示用户名错误
弹出错误提示,提示用户名错误
通过
登录模块
用户名:001
密码:123
管理员登录成功
管理员登录成功
通过
删除分类测试: 特定的结果使用如下的表6.2。
表6.2 删除分类测试用例
模块名称
测试用例
预期结果
实际结果
是否通过
删除分类模块
分类名:最新通知
删除成功、页面自动跳转
删除成功、页面自动跳转
通过
修改密码测试: 特定的结果使用如下的表6.3。
表6.3 修改密码测试用例
模块名称
测试用例
预期结果
实际结果
是否通过
修改密码模块
原密码:666
新密码:123
确认密码:123
弹出错误提示,提示原密码错误
弹出错误提示,提示原密码错误
通过
修改密码模块
原密码:001 新密码:123
确认密码:333
弹出错误提示,提示确认密码不一致
弹出错误提示,提示确认密码不一致
通过
修改密码模块
原密码:666 新密码:123
确认密码:123
密码修改成功
密码修改成功
通过
测试结论通过对功能的测试,管理系统的基本功能都是可行的,不管是系统里面的功能,还是界面的设计都是可值得推广宣传的。
相关知识
基于web网上花店销售系统国内外研究现状
网上鲜花销售系统.pptx
基于SSM+Vue的鲜花销售系统/网上花店系统
对网上花店系统进行软件测试,网上花店系统
网上花卉销售和管理系统毕业设计.doc
网上花店销售系统(附源码+课件+讲解+资料+数据库)
有间花店网上花店管理系统
网上鲜花销售系统概述.docx
基于JAVA的网上花店销售系统的设计与实现(附:源码 论文 sql文件)
基于Java网上鲜花销售系统的设计与实现
网址: 网上花店销售系统 https://m.huajiangbk.com/newsview544983.html
上一篇: 涉黄诱导支付一年欺诈7个亿 违法 |
下一篇: 鲜花电商进入洗牌倒计时 |