毕 业 设 计(论 文)
题目:旅游出行必备商城小程序的设计与实现
I
摘 要
由于 APP 软件在开发以及运营上面所需成本较高,而用户手机需要安装各
种 APP 软件,因此占用用户过多的手机存储空间,导致用户手机运行缓慢,体
验度比较差,进而导致用户会卸载非必要的 APP,倒逼管理者必须改变运营策略。
随着微信小程序的出现,解决了用户非独立 APP 不可访问内容的痛点,所以很
多 APP 软件都转向微信小程序。本次课题就运用了微信小程序技术开发一个旅
游出行必备商城小程序。
旅游出行必备商城小程序借助微信开发者工具开发用户前端,使用 SSM 框
架和 Java 语言开发管理员后台,使用 Mysql 创建数据表保存本系统产生的数据。
系统可以提供信息显示和相应服务,其管理员管理旅游出行必备的商品信息,管
理景点,管理门票预订订单和商品购买的订单,管理用户资料和新闻资讯。用户
购买旅游出行必备的商品,预订景点的门票,在线支付商品订单和门票预订订单,
可以评论并收藏商品,新闻和景点。
总之,旅游出行必备商城小程序可以更加方便用户购买旅游出行必备商品以
及预订景点门票,也让旅游景点得到更好的宣传和展示。
关键词:旅游出行必备商城小程序;微信开发者工具;SSM 框架
II
Abstract
Due to the high cost of APP software development and operation, and the user's
mobile phone needs to install various APP software, it takes up too much mobile
phone storage space of the user, causing the user's mobile phone to run slowly, the
experience is relatively poor, and the user will uninstall Non-essential APPs force
managers to change their operating strategies. With the emergence of WeChat
mini-programs, the pain point that users cannot access content from non-independent
APPs has been solved, so many APP software have turned to WeChat mini-programs.
This project uses WeChat applet technology to develop an essential shopping mall
applet for travel.
Traveling essential shopping mall applet uses WeChat developer tools to develop
the user front end, uses the SSM framework and the Java language to develop the
administrator backend, and uses Mysql to create a data table to save the data
generated by the system. The system can provide information display and
corresponding services. Its administrator manages the commodity information
necessary for travel, manages scenic spots, manages ticket reservation orders and
commodity purchase orders, and manages user information and news information.
Users purchase essential goods for travel, book tickets for scenic spots, pay for
merchandise orders and ticket booking orders online, and can comment on and collect
merchandise, news and scenic spots.
In short, the travel must-have shopping mall applet can make it more convenient
for users to purchase travel-required goods and book scenic spots tickets, and also
allow tourist attractions to be better promoted and displayed.
Key Words:Mini Program for Traveling Essential Mall; WeChat Developer Tool;
SSM Framework
III
目 录
第 1 章 绪论...........................................1
1.1 课题背景 .........................................................................................................1
1.2 课题意义 .........................................................................................................1
1.3 研究内容 .........................................................................................................1
第 2 章 开发环境与技术.................................3
2.1 MYSQL 数据库 ...............................................................................................3
2.2 JSP 技术 ...........................................................................................................3
2.3 SSM 框架 .........................................................................................................4
2.4 微信开发者工具 .............................................................................................4
第 3 章 系统分析.......................................6
3.1 可行性分析 .....................................................................................................6
3.1.1 技术可行性 ..........................................................................................6
3.1.2 经济可行性 ..........................................................................................6
3.1.3 操作可行性 ..........................................................................................6
3.2 系统流程 .........................................................................................................7
3.2.1 操作流程 ..............................................................................................7
3.2.2 登录流程 ..............................................................................................7
3.2.3 删除信息流程 ......................................................................................8
3.2.4 添加信息流程 ......................................................................................9
3.3 性能需求 .........................................................................................................9
3.4 功能需求 .......................................................................................................10
第 4 章 系统设计......................................13
4.1 设计原则 .......................................................................................................13
4.2 功能结构设计 ...............................................................................................13
4.3 数据库设计 ...................................................................................................14
IV
4.3.1 数据库概念设计 ................................................................................15
4.3.2 数据库物理设计 ................................................................................18
第 5 章 系统实现......................................23
5.1 管理员功能实现 ...........................................................................................23
5.1.1 旅游商品管理 ....................................................................................23
5.1.2 旅游景点管理 ....................................................................................23
5.1.3 商品订单管理 ....................................................................................24
5.1.4 门票预订管理 ....................................................................................24
5.1.5 新闻资讯管理 ....................................................................................25
5.2 用户功能实现 ...............................................................................................25
5.2.1 新闻资讯 ............................................................................................25
5.2.2 旅游商品 ............................................................................................26
5.2.3 旅游景点 ............................................................................................27
5.2.4 商品订单 ............................................................................................28
5.2.5 我的收藏 ............................................................................................29
第 6 章 系统测试......................................31
6.1 功能测试 .......................................................................................................31
6.1.1 发布评论功能测试 ............................................................................31
6.1.2 提交订单功能测试 ............................................................................33
6.2 测试结果 .......................................................................................................35
结 论...............................................36
致 谢...............................................37
参考文献.............................................38