摘   要

随着互联网技术的发展,传统的商品销售迎来了机遇,我国是个人口大国,商品的需求量大,如何推广商品的销售是企业非常关注的事情。随着电子商务多元化的发展,各种类型的商品逐渐转移到线上销售。在互联网的帮助下,带动企业打开销路,促进商品销售的可持续发展。同时,通过基于微信小程序的网上交易平台,可以让更多的人选购质优价廉的商品,不再受时间和地点的限制、方便了购买者。在这种一举两得的交易模式下,开发基于微信小程序的网上交易平台是非常有意义的事情。

基于微信小程序的网上交易平台利用Java框架开发的一款微信小程序,数据存储到MySQL中,客户端前台使用微信小程序技术对界面进行设计和实现。本文先充分调查基于微信小程序的网上交易平台的需求分析,深入剖析系统应该具有的功能,并设计完善的数据库。利用成熟的开发技术完成编码工作,最后进行投入前的测试工作。最终,完成前台和后台的基于微信小程序的网上交易平台的功能,主要包括商品管理、在线购买管理、会员管理、公告管理等,通过前后台实现数据的传递。

关键词:微信小程序;Java语言;微海商城;电子商务


 

Abstract

With the development of Internet technology, the traditional commodity sales have ushered in opportunities. China is a country with a large population and a large demand for commodities. How to promote commodity sales is a matter of great concern to enterprises. With the diversified development of e-commerce, various types of goods are gradually transferred to online sales. With the help of the Internet, it will drive enterprises to open their markets and promote the sustainable development of commodity sales. At the same time, through the WeChat mall based on the WeChat applet, more people can buy high-quality and low-cost group-buying goods, which is no longer limited by time and place, and convenient for buyers. In this transaction mode of killing two birds with one stone, it is very meaningful to develop WeChat mall based on WeChat applet.

WeChat mall based on WeChat applet uses a WeChat applet developed by Java framework to store data in MySQL, and the client front desk uses WeChat applet technology to design and implement the interface. This paper first fully investigates the demand analysis of WeChat mall based on WeChat applet, deeply analyzes the functions that the system should have, and designs a perfect database. Use mature development technology to complete the coding work, and finally carry out the test work before the investment. Finally, we will complete the functions of WeChat mall based on WeChat applets at the front and back ends, mainly including group purchase commodity management, online purchase management, member management, announcement management, etc., and realize data transmission through the front and back ends.

Key Words:WeChat applet; Java language; Weihai Mall; Electronic Commerce


 

目 录

摘   要 2

Abstract 3

目 录 4

1系统概述 7

1.1 研究的背景和意义 7

1.2 国内外研究现状 8

1.3 研究内容 8

2系统技术 10

2.1 Java技术 10

2.2  MYSQL数据库 10

2.3  微信小程序技术 11

2.4  JSON数据 11

3系统需求分析 13

3.1 可行性分析 13

3.1.1 经济可行性 13

3.1.2 技术可行性 13

3.1.3 法律可行性 13

3.2 需求分析 13

3.2.1 非功能性需求 13

3.2.2 功能性需求 14

4系统设计 17

4.1 架构设计 17

4.2 功能设计 18

4.2.1 管理员功能设计 18

4.2.3 会员功能设计 19

4.3 数据库设计 21

4.3.1 数据库设计原则 21

4.3.2 数据库ER图设计 21

4.3.3 数据库表设计 22

5 系统实现 30

5.1 服务器管理员功能实现 30

5.1.1 管理员登录功能实现 30

5.1.2 用户管理功能实现 30

5.1.3 商品管理功能实现 32

5.2.4 公告管理功能实现 32

5.2.5 商品订单管理功能实现 33

5.2 小程序端会员功能实现 34

5.2.1 会员登录管理实现 34

5.2.2 个人中心功能实现 35

5.3.3 商品公告查看功能实现 36

5.3.4 商品购买功能实现 37

第6章 系统测试 39

6.1 程序测试 39

6.2 测试用例 40

6.3 系统测试结果 42

结论 43

参考文献 44

致谢 46


基于微信小程序的网上交易平台可以为管理人员提供商品管理功能,具有商品类型管理、商品、在线购买、购物车、公告管理的权限,添加或者删除用户基本信息,发布商品公告,对历史商品公告信息进行删除操作,

学生主要是查看个人信息,查看商品,在线购买,并提交订单到系统中。在反馈模块还可以参与讨论、发表问题。查看管理员发布的商品公告。

基于微信小程序的网上交易平台的设计与实现-计算机毕业设计源码+LW文档_sed