Design and implementation of WeChat ordering applet system

    Graduation project topic based on WeChat applet (5) PHP ordering takeaway applet (including proposal report, assignment letter, mid-term report, defense PPT, thesis template)

 Project background and significance

Purpose : The main goal of this topic is to design and implement a takeout ordering system based on WeChat mini program. Front-end users use the mini-program, and back-end management uses a B/S architecture based on PHP+MySql; dishes are added through the back-end, and users log in through the mini program. , view dishes, purchase, place orders, etc.

Significance : The WeChat Mini Program takeaway ordering system is a product of the combination of computer technology and catering management. Through the WeChat Mini Program Takeaway Ordering System, efficient management of catering is achieved. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. The manual ordering method is not only inefficient, error-prone, cumbersome, but also consumes a lot of manpower. In order to meet the needs of catering staff for efficient management of ordering, quantity, settlement, etc., on the premise that the staff have certain computer operation capabilities, this WeChat applet takeout ordering system is specially compiled to improve the management efficiency of restaurant ordering.

Feasibility Analysis

Based on the WeChat mini program takeaway ordering system, the feasibility of system development can be summarized in the following three aspects, as follows:

1. Technical feasibility

Use Windows 7 or 10 as the operating system, use phpstorm software as the development backend management, use MySQL for database storage, and use WeChat developer tools to develop WeChat applets; the hardware environment of the backend management system is a PC, and front-end users use WeChat applets on their mobile phones. .

2. Economic feasibility

On the one hand, using phpstorm and WeChat developer tools to develop a good human-machine interface and strong functional support further improves the work efficiency of Caizhan ordering personnel and saves manpower and material resources; on the other hand, the production cost of the system is low, You can use phpstorm and WeChat developer tools for development on your existing PC.

3. Operational feasibility

The operation of phpstorm software is to use the takeaway ordering backend management system on the Windows operating system. It mainly relies on the use of Windows operating technology to complete data entry, modification, deletion and other functions, which is simple and convenient.

Diners use their mobile phones to log in to the WeChat applet takeout ordering system to complete their ordering.

Main functional modules

   Backend administrator function

Member list: View all registered member information, support deletion.
Enter information: Enter information title, content and other information.
Manage information: View the entered information list, support deletion and modification.
Advertising settings: Upload pictures and set up carousel images on the homepage of the mini program. Advertise address messages
. List: List of all user message information, supports deletion

Dishes category management: supports entry, viewing, modification and deletion of existing categories.
Dishes entry: selects dish category, enters dish name, inventory, sold, price, uploads dish pictures, fills in dish introduction.
Dishes management: Views all entered dish information. , supports modification and deletion.
Menu orders: View order information placed by all users, including order time, cost, delivery address, consignee information, order dish information and remarks, etc. Order processing: Process dish delivery information,
etc.

   Mini program function

User registration and login: register a normal account, and then use the registered account to log in.
WeChat authorized login: directly use WeChat as the account, and log in after authorization.
Information function: users can browse the information list and detailed information at will.   

Dishes library: Click on all dishes; support querying to find the required dishes. Dishes
information: Click on the dish details page to view the dish introduction, pictures, prices, sales, etc., details, and a list of comments from users who have purchased it. 
Dishes collection: Click "Collection" below the operation information details to purchase favorite 
dishes: On the menu details page, click "Add to Cart", or directly click "Buy Now"
Dishes Shopping Cart: List the intended orders The menu list supports quantity increase and decrease.
To place a takeout order: click "Go to Checkout" in the shopping cart list, select or fill in the delivery address, confirm the dishes and quantity to be ordered, and fill in the remarks. Click "Order Settlement", then jump to the order list. 
Cancel the order: In the "My Orders" list, for the order that has not been paid, click "Cancel Application", delete the order 
and go to payment:: In the "My Orders" list , click "Go to Pay" to simulate payment. 
Comments on dishes: In the "My Orders" list, for orders that have been paid, you can click "Evaluate" for each dish to rate and fill in dish comments. Shipping address management 
: Enter the delivery address, view all delivery addresses, modify the delivery address, delete 

My Favorites: List of dishes collected by the user. 
Exit the system: clear the cache and return to the mini program homepage.
Leave a message: fill in the content of the message and submit it to the website management backend.

Development Summary

It mainly introduces some key technologies used in the development process of the system, including the MINA framework for front-end applet development; back-end development PHP development; MySQL database; and the introduction of conventional web page technology HTML/CSS/JAVASCRIPT.

Development operating system: windows10 + 4G memory + 500G

Mini program development: WeChat developer tools (MINA framework)

Backend environment: IIS +PHP

Backend development language: PHP

Backend development tools: Dreamweaver + PhpStorm

Database: mysql8

Database management tool: navicat

Other development languages: html + css +javascript

Development document description

   Backend management files

Path: The background source code ht directory is the background

Green shows the system framework, don’t move it

Location

Program name

illustrate

Source code root directory

login.php

Backend login page

Source code root directory

check_u_login.php

Background login handler

ht

Backend root directory

index.php

Background Home

left.php

Backend left menu

u_logout.php

sign out

ht/quanxian

Password management

mima.php

Password change page

mima_act.php

Password change program

ht/zixun

Information

zixun_add.php

Information entry page

zixun_add_act.php

Information entry database program

zixun_list.php

Information list

zixun_xiugai.php

Information modification page

zixun_xiugai_act.php

Information modification procedure

zixun_del.php

information removal process

ht/guanggao

Advertisements and messages

ad_index_wx.php

Carousel settings page

ad_index_wx_baocun

Carousel chart setting program processing

liuyan_list.php

Message List

liuyan_delt.php

Delete message

ht/huiyuan

member

hy_list.php

member list

hy_del.php

Member delete

ht/shangpin

Products (dishes)

caidan_1ji.php

Dishes classification management

sp_add.php

Dishes entry page

sp_add_act.php

Dishes entry program processing

sp_list.php

Dishes list

sp_del.php

Delete dish

sp_xiugai.php

Dishes modification page

sp_xiugai_act.php

Dishes modification program processing

ht/dingdan

Order

dd_list.php

Order List

dd_chuli.php

Order processing

   Mini program interface file

Mini program interface

Program name

Include

front page

wx_lunbo.php

Get the top carousel image array (multiple images)

wx_news_list.php

Get 3 latest news

wx_CpList_top4.php

Latest dishes on the shelves (4)

wx_CpList_paihang.php

Ranked dishes (4)

order

wx_fenlei.php

Load the left category

wx_fenlei_chanpin.php

Load category products

wx_gwc_feiyong.php

获取购物车费用

所有菜品和查询

wx_CpList.php

加载所有菜品

wx_CpList_top4.php

最新上架菜品(4)条

wx_fenlei.php

加载分类

菜品详情页

wx_sp_info-a.php

根据产品id获取产品的信息

wx_sp_info-b.php

根据产品id获取产品的详细信息

wx_gwc_add.php

加入购物车

wx_gwc_add.php

购买:加入购物车+跳转到购物车

wx_shoucang_add.php

录入收藏数据

购物车

wx_gwc_list.php

获取购物车列表

wx_gwc_del.php

删除购物车

wx_gwc_shuxiugai.php

更新购物车数据

wx_gwc_feiyong.php

获取购物车费用

下单页面

wx_gwc_list.php

获取下单购物车商品信息

wx_dizhi_list.php

获取地址列表

wx_dizhi_add.php

录入下单地址

wx_gwc_xiadan.php

提交下单信息

评论页面

wx_AddPinLun.php

提交评论

资讯信息

wx_news_list_byid.php

获取资讯列表

wx_news_info.php 

获取资讯信息详情

留言

wx_api_liuyan.php

提交留言

会员

wx_check_reg_yonghu.php

普通用户注册

wx_check_login_yonghu.php

普通用户登录

wx_check_reg_yonghu-weixin.php

微信登录

wx_dingdan_list.php

加载订单列表

wx_dingdan_fukuan.php

模拟付款

wx_dingdan_del.php

取消订单

wx_dingdan_shouhuo.php

收货

wx_dizhi_list.php

加载收货地址

wx_dizhi_moren.php

设置默认收货地址

wx_dizhi_Del.php

收货地址删除

wx_dizhi_add.php

录入收货地址

wx_dizhi_info.php

读取收货地址

wx_dizhi_edit.php

更新收货地址

wx_shoucang_list.php

获取收藏列表

wx_shoucang_del.php

删除收藏

wx_huiyuan_xinxi_byid.php

读取会员信息

wx_huiyuan_xinxi_update_byid.php

更新会员信息

wx_huiyuan_mima_act.php

密码修改

功能模块图

   功能实体图

   数据库ER图


作品效果截图

  小程序功能截图

  后台管理截图


Guess you like

Origin blog.csdn.net/u013818205/article/details/128946311