Project background and significance
Purpose: The main goal of this project is to design and implement a reservation and reservation applet based on the WeChat applet. The front-end users use the applet, and the back-end management uses PHP+MySql. B/S architecture; add bathroom types and bathroom rooms through the background, and users log in through the mini program to view bathrooms and submit bathroom reservation information.
Significance: The WeChat mini program reservation and reservation mini program system is a product of the combination of computer technology and bathroom management. Through the WeChat mini program reservation and reservation mini program system, the bathroom management system is realized efficient management. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. However, the method of manually finding the bathroom is not only inefficient, error-prone, cumbersome, but also consumes a lot of manpower. In order to meet the efficient management of bathrooms, on the premise that the staff have certain computer operation capabilities, this WeChat mini program reservation and reservation mini program system software is specially compiled to improve the efficiency of bathroom management.
Feasibility Analysis
Based on the WeChat campus bathroom reservation applet 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 can further improve the work efficiency of bathroom managers and save manpower and material resources; on the other hand, the production cost of the system is low, and it is now Some PCs can use phpstorm and WeChat developer tools for development.
3. Operational feasibility
The operation of phpstorm software is to use the mini program reservation bathroom mini program system background 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. Students use their mobile phones to log in to the WeChat mini program to make reservations and use the reservation mini program system.
Main functional modules
Backstage administrator function
Member management: View all registered member information on the website, support deletion
Information entry: Enter information title, time, information content, etc.
Management information: View the existing information list, support modification and deletion functions
Advertising settings: upload images, set carousel images and advertising links
Message management: view the mini program message list , support deletion
Bathroom number setting: set bathroom room type, such as by time point, not by time, etc.
Enter bathroom room: select type, enter bathroom Title, etc.
Bathroom room management: View the bathroom list, support modification and deletion
Bathroom reservation list: List the room information reserved by all users, support deletion
Bathroom reservation processing: processing bathroom status (pending review|rejection|approval|bathroom completed)
Mini program function
Registration and login function: register a normal account to log in; you can also log in directly using WeChat; after logging in, you can modify the user's basic information or log out.
Information function: enter information in the background and display it in the information template of the bathroom system in the WeChat applet. Users can browse the information list and detailed information at will
Bathroom list: click to make an appointment , we can check the list of bathrooms open to the public and available for reservation at the top.
Reservation rules: Reservations need to be made one day in advance; that is, reservations can only be made for tomorrow.
Initiate a reservation: Select the time to make the reservation, select the bathroom type, and the room information that can be reserved will be listed.
Fill in the reservation: fill in the name, phone number, and remarks of the reservation; submit the bathroom reservation.
My reservation: The reservation has been initiated, including reservation information, status (pending review | rejected | approved | bathroom completed)
Cancellation application: in my reservation If the backend administrator has not approved the list, you can click "Cancel Application" to initiate the cancellation operation. Those that have been reviewed cannot be canceled.
Confirm that the bathroom is over: If the bathroom is over, click to confirm that the bathroom is over, the room status will be reset, and other people can make reservations again.
User information: fill in name, qq , email, notes and other information
Log out: clear the login carousel and jump to the homepage
Message feedback: fill in the message content, contact person, mobile phone, email, submit Leave a message
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 of PHP programming, data storage MySQL database; and conventional web page technology HTML/CSS/JAVASCRIPT. introduce.
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 |
Backstage 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/dingzuo bathroom |
caidan_1ji.php |
Bathroom type management |
dingzuo_add.php |
Bathroom entry page |
|
dingzuo_add_act.php |
Bathroom entry process |
|
dingzuo_list.php |
Bathroom list |
|
dingzuo_del.php |
bathroom removed |
|
dingzuo_xiugai.php |
Bathroom modification page |
|
dingzuo_xiugai_act.php |
Bathroom modification process |
|
yuyue_list.php |
Bathroom appointment list |
|
yuyue_del.php |
bathroom removed |
|
yuyue_leixing_xiugai.php |
bathroom treatment page |
|
yuyue_leixing_xiugai_act.php |
bathroom handler |
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 |
|
Information |
wx_news_list_byid.php |
Get information list |
wx_news_info.php |
Get information details |
|
bathroom center |
wx_dingzuo_fenlei.php |
Get category list |
wx_dingzuo_list.php |
Get bathroom data based on 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 |
普通用户登录 |
|
wx_check_reg_yonghu-weixin.php |
微信登录 |
|
wx_dingzuo_yuyue_list_byUserid.php |
获取用户预约列表 |
|
wx_dingzuo_yuyue_del_byUserid.php |
取消预约 |
|
wx_huiyuan_xinxi_byid.php |
读取会员信息 |
|
wx_huiyuan_xinxi_update_byid.php |
更新会员信息 |
|
wx_huiyuan_mima_act.php |
密码修改 |
功能模块图
功能实体图
数据库ER图
作品效果截图