Design and implementation of WeChat canteen ordering applet system

     Project Background and Significance

Purpose : The main goal of this subject is to design and implement a mini-program based on the WeChat mini-program, the front-end users use the mini-program, and the background management uses the B/S architecture based on PHP+MySql; add seat types and seat numbers through the background, Users log in through the applet, view seats, and submit seat reservation information.

Significance : The WeChat Mini Program Reservation and Reservation Mini Program System is the product of the combination of computer technology and seat management. Through the WeChat Mini Program Reservation and Reservation Mini Program System, the efficient management of seats is realized. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. However, the method of manually finding seats is not only inefficient, error-prone, cumbersome, and consumes a lot of manpower. In order to meet the efficient management of seats, on the premise that the staff have certain computer operation ability, this WeChat applet reservation and reservation applet system software is specially compiled to improve the management efficiency of seats.

    Uses : restaurant seats, parking spaces, bar seats, library seats, etc.

Feasibility Analysis

The feasibility of system development can be summarized in the following three aspects of the WeChat mini-program reservation mini-program system, as follows:

1. Technical feasibility

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

2. Economic feasibility

On the one hand, the use of phpstorm and WeChat developer tools to develop a good man-machine interface and strong functional support further improves the work efficiency of the reservation administrator 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 to develop on the existing PC.

3. Operation feasibility

In terms of operation, the phpstorm software is used in the background of the applet reservation applet system on the Windows operating system, mainly relying on the use of Windows operating technology to complete the functions of data entry, modification, deletion, etc., which is simple and convenient. Students use their mobile phones to log in to the WeChat Mini Program Reservation Mini Program System to use it.

main function module

   Background administrator function

Advertisement management: Set up carousel ads and links on the homepage of the mini program
Message list: List of all user message messages, support deletion
Member list: View all registered member information, support deletion
Input information: Enter information titles, content and other information
management information: View completed information Enter the information list, support deletion and modification

Seat classification setting: set the open seat type, do not move after setting
Seat entry: select the category, enter the open seat name
Seat management: view all entered seat information, support modification and deletion of
seat reservation list: all seat records reserved by users List
Seat reservation management: support review and rejection, support deletion
 

   Applet function

User registration and login: register an ordinary account, and then use the registered account to log in.
WeChat authorized login: directly use WeChat as an account, and log in after authorization.
Information function: users can browse information lists and leave messages for detailed information   
: users can log in to the management platform in the mini program message.

Reservation rules: By default, only seats within the last 4 days can be reserved. Seat
Reservation: Select the date, select the type, select the seat, fill in the information, and submit the seat reservation
.
Cancel application: In my appointment information, if the administrator has not reviewed it, "Cancel Application" will be displayed on the far right, click this link to cancel.

User information: fill in the name, qq, email, notes and other information
Exit the system: clear the cache and return to the home page of the mini program

Development overview

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

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

Mini Program Development: WeChat Developer Tools (MINA Framework)

Background environment: IIS +PHP

Background development language: PHP

Background development tools: Dreamweaver +PhpStorm

Database: mysql8

Database management tool: navicat

Other development languages: html + css +javascript

Development file description

   background management file

Path: background source code ht directory is the background

Green shows the system framework, do not move

Location

program name

illustrate

Source code root directory

login.php

Background login page

Source code root directory

check_u_login.php

Background login handler

ht

background root directory

index.php

Background Home

left.php

background left menu

u_logout.php

sign out

ht/quanxian

password management

mima.php

Password change page

mima_act.php

password changer

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 Deletion Procedure

ht/ guanggao

Ads and Messages

ad_index_wx.php

Carousel settings page

ad_index_wx_baocun

Carousel image setting program processing

liuyan_list.php

Message List

liuyan_delt.php

message delete

ht/huiyuan

member

hy_list.php

member list

hy_del.php

member deletion

ht/dingzuo

seat

caidan_1ji.php

Seat Type Management

dingzuo_add.php

Seat entry page

dingzuo_add_act.php

Seat entry program processing

dingzuo_list.php

seat list

dingzuo_del.php

seat deletion

dingzuo_xiugai.php

Seat modification page

dingzuo_xiugai_act.php

Seat Modification Procedure Handling

yuyue_list.php

Seat Reservation List

yuyue_del.php

seat deletion

yuyue_leixing_xiugai.php

Seat Handling Page

yuyue_leixing_xiugai_act.php

seat handler

   applet interface file

applet interface

program name

Include

front page

wx_lunbo.php

Get the top carousel image array (multiple images)

wx_news_list.php

Get the latest information 3 items

Information

wx_news_list_byid.php

Get information list

wx_news_info.php 

Get information Details

Reservation

wx_dingzuo_fenlei.php

Get category list

wx_dingzuo_list.php

Obtain seat data according to date and category

wx_dingzuo_yuyue_add.php

Submit Information

message

wx_api_liuyan.php

Submit Message

member

wx_check_reg_yonghu.php

Ordinary user registration

wx_check_login_yonghu.php

Ordinary user login

wx_check_reg_yonghu-weixin.php

WeChat login

wx_dingzuo_yuyue_list_byUserid.php

Get user appointment list

wx_dingzuo_yuyue_del_byUserid.php

cancel appointment

wx_huiyuan_xinxi_byid.php

read member information

wx_huiyuan_xinxi_update_byid.php

Update member information

wx_huiyuan_mima_act.php

change Password

Functional block diagram

   Functional Entity Diagram

   Database ER Diagram


Screenshot of work effect

  Screenshot of applet function

  Background management screenshot

Guess you like

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