基于微信小程序的游戏道具账号交易系统

 2022-04-03 10:04

论文总字数:31272字

摘 要

互联网科技的高速发展让人们的生活和工作都进入了一个新的时代,线上交易平台让大家的生活越来越便携,网络经济、在线交易这样的名词和概念也被越来越多的人所接受。与此同时,随着游戏引擎的发展和游戏行业的经验积累,很多优秀的游戏为我们展现了一个精彩的虚拟世界,游戏作为文化传播的一种重要方式,在现代人的生活娱乐社交中也变得不可缺少。正因如此,游戏中的虚拟物品交易的需求也日渐提高,在游戏世界中,玩家也需要进行虚拟世界的交易,虚拟物品的交易平台也随之而来。在这样的环境下,如何提供一个安全公正且便携的交易平台就变的尤为重要,同时这也是本毕设的重点。本着“触手可及,即用即走”的微信小程序非常适合为人们生活中的重要又低频的需求服务,相对于原生态的 APP 更加切合线下快速推广的这种需求。

本系统主要由微信小程序客户端、服务器、数据管理端构成,服务器采用了ThinkPHP5 框架技术,客户端采用了微信小程序的 MINA 框架。客户端的页面实现通过网络与服务器 REST API 接口通信获取 MySQL数据。本人重点参与了虚拟物品交易系统客户端、服务器以及数据库的设计、开发、测试工作。

在系统的设计与实现过程中,对客户端的代码进行了全局的 MVC 模式设计控制,采用 template 模板增加代码的复用性,并创建客户端用户的 token 管理机制进行用户身份验证与权限分级。本文重点描述了商品信息展示模块、上架及购买模块、支付及提现模块、私信功能模块、个人信息管理模块及数据库设计六大模块的设计与实现。

关键字: 微信小程序;虚拟物品;交易平台; C2C

ABSTRACT

With the rapid development of Internet technology, people's life and work have entered a new era. Online trading platform makes people's life more and more portable. Nouns and concepts such as network economy and online trading have also been accepted by more and more people. At the same time, with the development of game engine and the accumulation of experience in the game industry, many excellent games show us a wonderful virtual world. As an important way of cultural transmission, games have become indispensable in modern people's life, entertainment and social interaction. Because of this, the demand for virtual goods trading in the game is also increasing day by day. In the game world, players also need to trade in the virtual world, and the trading platform of virtual goods also follows. In such an environment, how to provide a safe, fair and portable trading platform becomes particularly important, which is also the focus of this design. In line with the "accessible, that is, use-and-go" micro-program is very suitable for the important and low-frequency needs of people's lives, compared with the original ecological APP, it is more suitable for the rapid promotion of this demand offline.

The system is mainly composed of the client, server and data management of the Wechat applet. The server adopts ThinkPHP5 framework technology, and the client adopts the MINA framework of the Wechat applet. The client page realizes the MySQL data acquisition through the network and server REST API interface communication. I have participated in the design, development and testing of client, server and database of virtual goods trading system.

In the design and implementation of the system, the client's code is controlled by the global MVC pattern design. The template is used to increase the reusability of the code, and the token management mechanism of the client's user is created to authenticate and classify the user's rights. This paper mainly describes the design and implementation of six modules: commodity information display module, shelf and purchase module, payment and withdrawal module, private trust module, personal information management module and database design.

KEY WORDS: Wechat Mini Program;Virtual goods; Trading platform; C2C

目 录

摘 要 I

ABSTRACT II

第一章 绪论 1

1.1研究背景及意义 1

1.2国内应用现状 1

1.3主要研究内容及特色 2

1.4论文结构 2

1.5本章小结 3

第二章 系统相关技术研究 3

2.1微信小程序 3

2.2 vue.js 5

2.3 mpvue框架 6

2.4 ThinkPHP框架 9

2.5 MySQL数据库 9

2.6 微信支付技术 10

2.7 微信分享技术 12

2.8 本章小结 13

第三章 系统分析 13

3.1系统功能总体功能分析 13

3.2系统功能详细需求分析 14

3.2.2浏览商品 15

3.2.3出售道具/账号 17

3.2.4购买道具/账号 18

3.2.5拍卖道具/账号 21

3.2.6搜索 21

3.2.7筛选 22

3.2.8私信 24

3.2.9充值、提现 25

3.2.10积分系统 27

3.2.11账号信息显示/修改 27

3.3可行性分析 30

3.3.1需求可行性 30

3.3.2技术可行性 30

3.4本章小结 31

第四章 系统设计与实现 31

4.1项目总体架构设计 31

4.2客户端设计与实现 32

4.3服务器端和数据库的设计与实现 36

4.3本章小结 42

第五章 结论 42

致 谢 43

参考文献 45

  1. 绪论

基于微信小程序客户端的虚拟物品交易系统是C2C、电子商务与微信小程序相结合的共同产出物,它集合了微信小程序开发、ThinkPHP5服务器开发、数据库、网络等多种当下的流行技术与一体,用户可以通过扫一扫小程序码快速获取商品信息,方便了用户可以随时随地地购买或上架商品,小程序交易平台客户端的加入为电子商务的发展添加了新的生机。

1.1研究背景及意义

剩余内容已隐藏,请支付后下载全文,论文总字数:31272字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;