摘 要
随着小程序能力越来越开发,小程序点餐系统更受欢迎。赢在移动针对餐饮行业开发微信小程点餐系统,能够帮助商家搭建线上餐厅,让消费者扫码即可点餐,无需服务员,降低人工成本。为更好地帮助个体商户和小本经营者解决这些问题,微信支付推出“中小商户智慧助力计划”。在该计划中,“收款小账本”正是为以上痛点提供解决方案的一款小程序,帮助用户更好地使用微信“二维码收款”功能。小程序点餐系统的好处在于,用户在线点餐更方便,能让消费者微信二维码点餐、支付,降低人工成本,管理餐厅更方便,用户体验也更好。打造高端餐厅,开发微信小程序点餐系统,搭建点餐商城平台。
微信扫二维码点餐系统,能让用户扫二维码点餐,还能通过附近的小程序点外卖。还可以预约餐厅、在线支付、消费返利、优惠券、点餐分销、卡券等基础功能和营销功能。在没有微信点餐软件的场景中,顾客在餐厅吃完饭以后,打开微信扫一扫二维码,使用微信支付来结账,对大部分餐厅来讲是一个非常熟悉的场景。目前很多餐厅采用的是商家收款二维码甚至使用个人收款二维码来完成收款,这样的支付方式就跟付现金一样,支付成功消费结束。
关键词:微信;小程序;点餐;扫码;支付
Abstract
With the increasing development of the small program, the small program ordering system is more popular. Win in the mobile aiming at the catering industry to develop the WeChat small-range ordering system, can help the business to set up the online restaurant, let the consumer clean the code to order the meal, do not need the staff, reduce the labor cost. In order to help individual merchants and small operators to solve these problems, WeChat will pay out the "Smart assistance program for small and medium-sized merchants". In this program, the "small collection account book" is a small program that provides a solution for the above pain points to help users better use the Wechat "two-dimension code collection" feature. the benefit of a small program ordering system is that the user's online ordering is more Convenient, can let consumer WeChat QR code order, pay, reduce labor cost, manage restaurant more convenient, user experience is also better. Create high-end restaurant, develop WeChat Mini Program ordering system, build the platform of ordering Mall.
WeChat scan QR code ordering system, allows users to scan QR code to order food, but also through nearby small programs to order takeout. You can also book restaurants, online payments, consumer rebates, coupons, ordering distribution, card coupons and other basic functions and marketing functions. In the absence of WeChat ordering software, after eating in a restaurant, customers open WeChat to scan the QR code and check out using WeChat Pay, which is a very familiar scene for most restaurants. At present, many restaurants use the merchant collection QR code and even the personal collection QR code to complete the collection, which is paid in the same way as cash, and the successful consumption ends.
Key words: WeChat; Mini Programs; ordering food; scanning code; payment
目 录
摘 要 I
Abstract II
1绪论 1
1.1研究背景及意义 1
1.3研究内容 2
2微信小程序开发相关技术介绍 3
2.1微信小程序介绍 3
2.1.1微信介绍 3
2.1.2微信小程序简介 3
2.1.3微信小程序基本功能 4
2.2微信点餐小程序开发技术的介绍 5
2.2.1 PHP 5
2.2.2 JSON 6
2.2.3 XML 6
2.2.4 HTML 7
3需求分析 8
3.1需求综述 8
3.1.1用户需求 8
3.1.2 功能需求 9
3.2 详细需求分析 9
3.2.1 系统参与者 9
3.2.2系统用例 10
3.2.3具体用例分析 12
3.3领域类图 17
4概要设计 18
4.1 技术选型 18
4.2 功能模块划分 18
4.2.1 用户功能模块 18
4.2.2 系统管理员功能模块 20
4.2.2 微信用户功能模块 20
4.3 系统架构 21
4.4 包图 22
4.5 类图 23
4.6 数据库设计与实现 25
4.6.1 数据库E-R图 25
4.6.2 数据库设计 27
4.6.3 数据逻辑结构设计 28
4.7 部署图 34
5详细设计 35
5.1微信点餐小程序整体流程 35
5.2微信点餐小程序前端 36
5.2.1首页 36
5.2.2在线预定 37
5.2.3外卖点餐 39
5.2.4扫码点餐 42
5.2.5个人中心 45
5.3微信点餐小程序后端 46
5.3.1桌台信息 48
5.3.2我的预约 50
5.3.3扫码点餐 51
5.3.4查看外卖 52
5.3.5设置 53
6安装测试 54
6.1 运行环境简介 54
6.2 测试计划 54
6.3 测试过程与结果 55
6.3.1 注册功能测试 55
6.3.2 登录功能测试 56
6.3.3 查看菜品分类功能测试 57
6.3.4 点餐下单功能测试 59
总 结 61
致 谢 62
参考文献 63