摘 要
随着互联网+思维的不断推广,越来越多的人投入到电子商务这种新型的行业中。本文便是基于此潮流,对基于SpringBoot框架二手交易平台的设计与实现进行阐述的。所谓的二手货交易平台是电子商务在二手交易买卖这个目的下的一个虚拟化的市场,利用网络来推广关于二手货的相关事务,让客户在了解到二手货信息的同时,也可以在线实现二手货的交换或购买。
参考过现在的二手货处置的发展状况,二手货交易网站不仅仅是将卖家和买家通过互联网的又一次紧密联系,在更好的促进了当今电商发展的同时,也是对互联网+思维的一次尝试,更是对于推动我国二手货市场发展的一次尝试。
采用Java Web开发框架-Springboot2.0;数据底层采用Mybatis,同时引入了Mapper和Page Helper插件,可以快速的对表进行增删改,消除了大量传统XML配置SQL代码;安全框架采用Apache Shiro,可实现按钮级别的权限控制,后台页面使用了Admin Lte框架,页面美观大方.结合网上购物需求分析和相关资料,用户可以实现在线发布自己的二手货,可以从二手货名称,图片,价格,数量,联系方式等进行二手货的添加,快捷准确。与传统销售方式相比,通过互联网的销售方式可以方便快捷的查找到大量的关于二手货物的信息,有助于用户进行消费购物。该二手货交易平台的一大特点就是:可以让用户实现既是卖家又是买家的体验,用户可以不用再考虑时间和空间的限制,便可实现二手货的交换或购买在节约了开设实体店成本的同时,又可以满足自己的消费需求。
关键词:二手平台;二手网站;交易网站;Springboot;Java
Abstract
With the continuous promotion of Internet + thinking, more and more people are invested in the new industry of e-commerce.Based on this trend, the design and implementation of the second-hand trading platform based on the SpringBoot framework are elaborated.The so-called second-hand goods trading platform is a virtual market of e-commerce for the purpose of second-hand goods trading. It uses the network to promote the related affairs about second-hand goods, so that customers can understand the information of second-hand goods, but also realize the exchange or purchase of second-hand goods online.
Referring to the current development of second-hand goods disposal, second-hand goods trading website is not only another closely linked between sellers and buyers through the Internet, to better promote the development of today's electricity commerce at the same time, is also an attempt to the Internet + thinking, but also to promote the development of second-hand goods market in our country.
Java Web development framework-Springboot2.0; Mybatis is adopted at the data layer, Mapper and Page Helper plug-ins, can be quickly added and deleted, eliminate a large number of traditional XML configuration SQL code; security framework adopts Apache Shiro, button-level permission control, background page use Admin Lte framework, page beautiful and generous.Combined with online shopping demand analysis and related information, users can realize the release of their own second-hand goods online, can be from the second-hand goods name, pictures, price, quantity, contact information for second-hand goods added, fast and accurate.Compared with the traditional sales methods, the sales methods through the Internet can easily and quickly find a large amount of information about the used goods, which helps users to make consumer shopping.One of the major characteristics of the second-hand goods trading platform is that users can realize the experience of both the seller and the buyer. Users can not longer consider the restrictions of time and space to realize the exchange or purchase of second-hand goods while saving the cost of opening physical stores, but also to meet their own consumption needs.
Keywords: second-hand platform; second-hand website; trading website; Springboot; Java
目录
摘 要 I
Abstract II
1.项目简介 1
1.1背景分析 1
1.2项目描述: 1
2.数据库设计 2
2.1表结构 2
2.2ER图 6
3.项目实现 6
3.1项目配置 6
3.2支付宝沙箱支付配置类 8
3.3redis配置 9
3.4拦截器实现 10
3.5Redis缓存工具类 11
3.6身份验证功能实现 13
3.7短信发送工具类 14
3.8主要功能实现 15
4.项目展示 19
4.1普通用户 20
4.2管理员用户 24
4.3卖家用户 25