
Readme
Background 项目背景
A shopeemall based on SpringBoot + Nginx + Redis
此网络购物平台系统旨在为用户提供一个简易的具备一些基本功能的购物系统,通过这个系统用户可以轻松的获得自己想要的商品。存在两种类型用户,普通用户和管理员用户。普通用户在这个系统中注册过后进行登陆此时可以对个人资料进行修改,可以修改密码,同时可以在平台中进行自由的选购自己想要的商品,将选购好的商品加入购物车,如果需要修改可以在购物车中更改所需的商品数量,当选择完成过后可以确认购买,也可以让所选物品一直处在购物车中,等待下次登陆时依然有效。管理员用户可以通过管理员账号登陆后对商品进行管理,可以对商品信息进行修改,删除商品,添加新商品。前台不提供管理员用户的注册,直接在后台数据库中添加管理员用户。
本系统的目标除了提供基本购物功能和用户、订单、商品的相关管理功能之外,为了保证用户的购物体验,我们将采用Redis、Nginx及分布式技术实现服务器搭建,保证商城系统高可用性,并添加商品秒杀功能及实时热销榜功能,与实际电商系统功能贴近。
This online shopping platform system aims to provide users with a simple shopping system with some basic functions, through which users can easily obtain the goods they want. There are two types of users, ordinary users and administrator users. Ordinary users log in after registering in this system. At this time, they can modify their personal information, modify their passwords, and at the same time, they can freely choose the products they want on the platform, and add the purchased products to the shopping cart. If you need to modify, you can change the required quantity of goods in the shopping cart. After the selection is completed, you can confirm the purchase, or you can keep the selected items in the shopping cart and wait for the next login to be valid. Administrator users can manage products after logging in through the administrator account, modify product information, delete products, and add new products. The front desk does not provide the registration of the administrator user, and directly adds the administrator user in the back-end database.
The goal of this system is to provide basic shopping functions and related management functions for users, orders, and commodities. In order to ensure the user’s shopping experience, we will use Redis, Nginx and distributed technologies to implement server construction to ensure the high availability of the mall system, and Add product spike function and real-time hot list function, which is close to the actual e-commerce system function.
Requirement Analysis 需求分析
需求调查分析
为了获得相关用户对于购物网站内容、形式、活动、商品等需求,我们设计了一份问卷,从用户网购需求、用户购买商品参考指标、用户年龄、网购主要原因、产生购买意愿原因、退货频率等多角度设计问卷,并面向18岁以上的用户投放问卷,总共获得问卷138份,有效问卷121份,并根据问卷结果分析用户需求,从而设计、改进网站。
以下为问卷分析结果。

从用户网购需求饼图来看,生活用品(21%)、服饰(23%)所占比重仅次于其他(42%)之后,说明市场中用户对于服饰、生活用品的需求较高,更具有经济价值,市场空间更大,所以我们在选择商城商品内容时,更加倾向这两种,更具有实际意义。

从用户购买商品参考指标可以看出,网页页面上最吸引用户的元素是商品图片和网购评论,其次是商品文字描述,所以在设计网站时,我们要给予商家充分的版面展示商品图片,从而激发消费者购买欲望。另外,要构建合理的网购评论、评分机制,强化好评权重,利用用户的从众心理,更容易购买。

从用户年龄饼图来看,16-24岁(73%)人群占比最高,青少年、中年人占比较低,说明用户主力为青年人,在设计用户界面时,尽量选择明快、活泼的颜色,简洁、大方的字体,生动、功能分明的模块。

从网购主要原因柱状图来看,方便是用户网购的最主要原因,在设计网站时应该尽量简化搜索、添加购物车、下订单、支付流程,将用户最关心的价格、折扣、款式、订单信息、物流信息显示在最明显的地方,减少用户寻找关键信息的时间。用户网购的第二原因是便宜,因此,我们将具有折扣的商品、销量极高的商品显示在主页上,吸引用户购买。

从用户产生购买意愿的原因来看,最主要的原因是用户本身存在对商品的需求,因此,在设计网站时,可能考虑到设计商品推荐算法,对用户输入的搜索商品进行同类查找,并推荐至商品首页。第二原因是打折,和网购主要原因分析中一样,我们将具有折扣的商品、销量极高的商品显示在主页上,吸引用户购买。第三原因是商品限量,可以在商品界面上显示限量个数、存量个数,激发用户购买欲。

从退货频率来看,62%的用户经常退货,因此,构建合理的退货评判机制、退货流程对于吸引回头客至关重要。
需求获取及描述
根据以上问卷分析、需求分析,我们完善了中期报告中缺少的部分需求获取、需求描述。

参与者及用例确定
各种用户类确认的“基于SpringBoot+Redis+Nginx的ShopeeMall商城”的主要参与者及其参与的用例如下所示:
