Project Background and Significance
Purpose : The main goal of this subject is to design and implement a mini-program based on WeChat mini-program, where the front-end users use the mini-program, and the background management uses the B/S architecture based on PHP+MySql; add bathroom types and bathroom rooms through the background, The user logs in through the applet, checks the bathroom, and submits bathroom reservation information.
Significance : The WeChat Mini Program Reservation and Reservation Mini Program System is the product of the combination of computer technology and bathroom management. Through the WeChat Mini Program Reservation and Reservation Mini Program System, the efficient management of bathrooms is realized. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. However, the method of manually finding a bathroom is not only inefficient, error-prone, cumbersome, and consumes a lot of manpower. In order to meet the efficient management of the bathroom, on the premise that the staff have certain computer operation ability, this WeChat applet reservation applet system software is specially compiled to improve the management efficiency of the bathroom.
Feasibility Analysis
The feasibility of system development can be summarized in the following three aspects of the WeChat Campus Bathroom 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 development of phpstorm and WeChat developer tools has a good man-machine interface and strong functional support, which further improves the work efficiency of bathroom managers and saves manpower and material resources; on the other hand, the production cost of the system is low. Some PCs can use phpstorm and WeChat developer tools for development.
3. Operation feasibility
In terms of operation, the phpstorm software is used in the background of the small program reservation bathroom small program 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
Member management: View all registered member information on the website, support deletion
Information entry: Enter information title, time, information content, etc.
Management information: View existing information list, support modification and deletion
Advertisement settings: Upload pictures, set carousel images and advertisements Link
Message management: view the message list of the applet, support deletion.
Bathroom number setting: set the type of bathroom room, such as by time point, not by time, etc.
Enter bathroom room: select type, enter bathroom title, etc.
Bathroom room management: view bathroom list , support modification and deletion
Bathroom reservation list: list all room information reserved by users, support deletion
Bathroom reservation processing: process bathroom status (to be reviewed | rejected | approved | bathroom completed)
Applet function
Registration and login function: Register a common 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 of the WeChat applet. Users can browse the information list and detailed information
bathroom list: click on the reservation, and we can check the list of bathrooms that are open to the public and can be reserved 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 reserve, select the type of bathroom, and the room information that can be reserved will be listed.
Fill in the appointment: fill in the name, phone number, and remarks of the appointment; submit the bathroom appointment.
My appointment: an appointment has been initiated, including appointment information, status (to be reviewed | rejected | approved | bathroom completed)
cancel application: in the list of my appointment, if the background administrator has not passed the review, you can click "cancel application" to initiate Cancellation operation, which has been reviewed cannot be cancelled.
Confirm the end of the bathroom: If the bathroom is over, click Confirm the end of the bathroom, the status of the room will be reset, and other people can make an appointment again User
information: Fill in the name, qq, email, notes and other information
Logout: Clear the login turntable and jump to the home page to
leave a message Feedback: Fill in the message content, contact person, mobile phone, email address, and submit a message
Development overview
Mainly introduces some key technologies used in the development process of the system, mainly including the MINA framework for front-end applet development; background development PHP programming, data storage MySQL database; and conventional web technology HTML/CSS/JAVASCRIPT introduce.
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 bathroom |
caidan_1ji.php |
Bathroom Type Management |
dingzuo_add.php |
Bathroom entry page |
|
dingzuo_add_act.php |
Bathroom entry program processing |
|
dingzuo_list.php |
bathroom list |
|
dingzuo_del.php |
bathroom delete |
|
dingzuo_xiugai.php |
bathroom modification page |
|
dingzuo_xiugai_act.php |
bathroom modification process |
|
yuyue_list.php |
Bathroom Appointment List |
|
yuyue_del.php |
bathroom delete |
|
yuyue_leixing_xiugai.php |
bathroom treatment page |
|
yuyue_leixing_xiugai_act.php |
bathroom 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 |
|
bathroom center |
wx_dingzuo_fenlei.php |
获取分类列表 |
wx_dingzuo_list.php |
根据日期、分类 获取浴室的数据 |
|
wx_dingzuo_yuyue_add.php |
提交信息 |
|
留言 |
wx_api_liuyan.php |
提交留言 |
会员 |
wx_check_reg_yonghu.php |
普通用户注册 |
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图
作品效果截图