基于微信公众平台的点餐系统的设计与实现_谭楷祥 (1).docx
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《基于微信公众平台的点餐系统的设计与实现_谭楷祥 (1).docx》由会员分享,可在线阅读,更多相关《基于微信公众平台的点餐系统的设计与实现_谭楷祥 (1).docx(59页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、摘要 当今社会是一个数字化、网络化和信息化的社会,随着移动互联网的迅猛发 展,给我们生活的方方面面都提供了极大的便利。对于传统的餐饮业而言,也在 潜移默化中感受到移动互联网的魅力。然而,如何利用移动互联网更好更方便的 为餐饮业提供便利,是一个值得思考的问题。 本文对点餐系统目前的发展现状进行了简要的概述,阐述了当前己经存在的 点餐系统的优缺点。同时,本文也对微信公众平台进行了介绍,阐述了微信公众 平台的发展现状,并对微信公众平台的第三方开发技术进行了详细的介绍。最后 , 本文也对 B/S结构和 C/S结构两种体系结构进行了比较,介绍了 B/S结构的优 缺点。 本文主要讲述的是一个 B/S结构的
2、点餐系统的设计与实现。本系统与普通 点餐系统的最大区别在于本系统是基于微信公众平台的点餐系统。选择微信公众 平台,一方面是因为微信是当前炙手可热的移动社交工具,为餐饮店的营销提供 了天然的优势;另一方面,是为了摆脱移动应用本身过于庞大给用户带来的不便, 使点餐系统能够轻松的进入用户的移动设备。其中点餐系统提供餐饮店点餐相关 的基本需求,餐饮店的微信公众账号则提供点餐系统运行的载体。这两部分的结 合主要依靠的是微信公众 平台的开发接口。本系统主要釆用 thinkphp的框架, 使用 MVC的设计思想,实现了排队、预点餐、预订等餐饮店基本的功能需求。 其中排队功能主要实现了一个电子排队号码,取代纸
3、质排队号码;预点餐则是用 电子菜单取代了传统的纸质菜单。 本文结合软件工程的思想,首先讲述了系统需求,主要从用户性需求和功能 性需求两方面进行介绍。然后,介绍了系统的详细设计,主要包括数据库设计、 整体构架设计以及功能模块设计。最后,结合系统设计阐述了主要功能模块的具 体实现及其实现效果。通过这一系列介绍,较为全面的展示了基于微信公众平 台 的点餐系统的全貌。 关键词:餐饮、微信公众平台、点餐系统 Abstract Today is a digital,networking and information-based society.With the rapid development of
4、mobile Internet,all aspects of our lives have a great convenience.The traditional food industry also feels the subtle charm of the mobile internet.However,how to use the mobile Internet to provide more convenient for the restaurant industry is a question worth considering. This paper describes the o
5、rdering systems current status of development and describes the advantages and disadvantages of the existing ordering systems.Meanwhile,the paper also introduces the wechat public platform and describes the development of the wechat public platform.The paper also describes the development technology
6、 of the wechat public platform.Finally,the paper introduces the B/S structure and the C/S structure and describes the advantages and disadvantages of the B/S structure. This paper describes the design and implementation of the ordering system with B/S structure.The biggest difference between this sy
7、stem and the general ordering system is that the system is based on the wechat public platform. Selecting wechat public platform,partly because the wechat is currently the hottest mobile social tool and provide a natural advantage for restaurant marketing;On the other hand,wechat public platform can
8、 make the ordering system easily enter the users mobile device in order to get rid of the mobile application itself too huge to the user.The ordering system provide the basic needs of the restaurant and the wechat public platform provides ordering system operating environmentombined by the wechat pu
9、blic platform development interface.This system uses the framework thinkphp using MVC design ideas to achieve the queue,pre-ordering,booking restaurants and other basic functional requirements. Queuing function mainly implements a number of electronic queuing to replace paper-based queuing number an
10、d pre-ordeing mainly implements a electronic menu to replace the traditional paper menu. This paper,using the idea of software engineering,first introduces the system requirements,mainly from the user requirements and functional requirements two ways.ThenJt introduces the detailed design of the syst
11、emjnlucding database design,the overall architecture design and features modular designPinallyJt introduces the implementation and achieve results of the main functions based on the system design.Through this series introduces,this paper display the ordering system based on wechat public platform co
12、mprehensively. Keywords: Restaurant, Wechat, Ordering 目录 摘要 . I Abstract . II 图目录 . vi 第 一 章 引 言 . 1 i_i项 g背景 . 1 1.2点餐系统 . 3 1.3本文主要研究工作 . 4 1.4本文的组织结构 . 6 第二章技术综述 . 7 2.1微信公众平滤述 . 7 2.1.1微信简介 . 7 2.1.2微信公众平台简介 . 7 2.2 B/S结构介绍 . 10 2.2.1 B/S结构解释 . 10 2.2.2 B/S结构与 C/S结构的比较 . 11 2.3 MySQL 简介 . 12 2.4
13、 ThinkPHP 简介 . 12 2.5 Apache web服务器简介 . 13 2.6 Ajax技术简介 . 13 2.7本章小结 . 14 第三章系统的分析与设计 . 15 3.1系统需求分析 . 15 3.1.1功能性需求分析 . 15 3.1.2用户需求分析 . 18 3.2系统设计 . .21 3.2.1系统体系结构设计 . 22 3.2_2系统整体构架设计 . 22 3.2.3系统的功能模块设计 . 23 3_2.4数据库设计 . 28 3.3本章小结 . 31 第四章系统的实现 . 32 4_1系统实现概述 . 32 目录 4.2后台管理系统的实现 . 32 4.2.1为店铺
14、绑定微信公众账号实现 . 32 4.2.2为店铺绑定微信服务员账号实现 . 33 4.2.3管理店铺菜单功能的实现 . 35 4.3微信公众平台接口模块的实现 . 35 4.4客户端排队 功能的实现 . 37 4.4.1面向顾客的排队功能的实现 . 37 4.4.2面向服务员的排队管理功能的实现 . 39 4.5客户端预点餐功能的实现 . 40 4.5.1面向顾客的预点餐功能的实现 . 40 4.5.2面向服务员的预点餐管理功能的实现 . 42 4.6客户端在线预订功能的实现 . 44 4.6.1面向顾客的在线预订功能的实现 . 44 4.6.2面向服务员的预订管理功能的实现 . 45 4.7
15、本章小结 . 47 第五章总结与展望 . 48 5.1总结 . 48 5.2进一步工作展望 . 48 参 考 文 献 . 49 致谢 . 51 版权及论文原创性说明 . 52 图 2.1微信公众平台后台管理系统 . 9 图 2.2微信公众平台开放接口原理图 . 10 图 3.1排队功能用例图 . 16 图 3.2预点餐功能用例图 . 17 图 3.3预订功能用例图 . 18 图 3.4店内系统管理员需求示意图 . 19 图 3.5顾客需求示意图 . 20 图 3.6店内服务员需求不意图 . 21 图 3.7系统整体结构图 . 23 图 3.8排队功能时序图 . 24 图 3.9预点菜功能时序图
16、 . 25 图 3.10预订功能时序图 . 26 图 3.11绑定服务员顺序图 . 27 图 3.12数据库 E-R图 . 29 图 3.13数据库表的设计图 . 31 图 4.1绑定微信公众账号界面 . 33 图 4.2绑定微信公众账号关键代码 . 33 图 4.3绑定服务员后台管理系统关键代码 . 34 图 4.4增加或删除菜品界面 . 35 图 4.5顾客主菜单 图 4.6服务员主菜单 . 36 图 4.7微信公众平台接口接入代码 . 37 图 4.8顾客排队取号页面 图 4.9顾客排队号码页面 . 37 图 4.10排队取号关键代码 . 38 图 4.11服务员叫号页面 . 39 图
17、4.12服务员叫号功能关键代码 . 40 图 4.13菜单类目 图 4.14菜单菜品 . 41 图 4.15己点菜单列表 . 41 图 4.16菜单列表实现代码 . 42 图 4.17服务员查询预点菜单页面 . 43 图 4.18预点餐部分实现代码 . 44 图 4.19预订填写页面图 4.20预订订单生成页面 . 44 图 4.21预订功能部分实现代码 . 45 图 4.22待处理列表页面 . 46 图 4.23服务员确认订单部分代码 . 46 图目录 第 一 章 引 言 1.1项目背景 餐饮店传统的点餐方式是顾客进店以后,服务员将本店菜单递给顾客,然 后顾客边点餐,服务员边用笔记下顾客所点
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 公众 平台 系统 设计 实现 谭楷祥
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内