Introduction to the blogger: Author of the books "Introduction to Vue.js and Practical Mall Development" and "WeChat Mini Program Mall Development", CSDN blog expert, online education expert, CSDN Diamond Lecturer; focusing on graduation design education and coaching for college students.
All projects come with basic knowledge video courses from entry to mastery, free of charge
The project is equipped with corresponding development documents, proposal report, task statement, PPT, thesis template, etc.
Contact details are available at the end of the article
Purpose : The main goal of this project is to design and implement a WeChat stadium venue reservation applet system. Front-end users use the applet, and the applet is developed using WeChat developer tools; the backend management uses a B/S architecture based on PHP+MySql to develop The tool uses phpstorm; gym information, venue and charging information, order management, etc. are added through the background. Users log in through the mini program to view gym information, locate the gym, reserve venues, etc.
Significance : The WeChat gym venue reservation applet system is a product of the combination of computer technology and gymnasium venue management. Through the WeChat gym venue reservation applet system, efficient management of gymnasium venue reservations is achieved.
With the continuous improvement of computer technology, computers have penetrated into every corner of social life; the manual method of making reservations for gymnasiums is not only inefficient, error-prone, cumbersome, but also consumes a lot of manpower. In order to satisfy consumers who want to make gymnasium venue reservations anywhere with internet access, and on the premise that the staff have certain computer operation capabilities, this WeChat gym venue reservation applet system is specially compiled to improve the stadium venue. Management efficiency.
Development Summary
Development operating system: windows10 + 4G memory + 500G
Mini program development: WeChat developer tools (MINA framework)
Backend environment: PHPstudy integrated environment
Backend development language: PHP
Backend development tool: Dreamweaver or PhpStorm (choose your own development tool)
Database: mysql8
Database management tool: navicat
Other development languages: html + css +javascript
Database ER diagram
Backend management system 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/qita 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/xiangmu Stadium project |
xiangmu_add.php |
Gym entry page |
xiangmu_add_act.php |
Gym entry process |
|
xiangmu_list.php |
Stadium list |
|
xiangmu_del.php |
gym delete |
|
xiangmu_xiugai.php |
Stadium modification page |
|
xiangmu_xiugai_act.php |
Stadium modification procedures |
|
xiangmu_mulu.php |
Stadium Venue Directory |
|
mulu1_add.php |
Level 1 directory (type) entry page |
|
mulu1_add_act.php |
Level 1 directory (type) entry program |
|
mulu1_xiugai.php |
Level 1 directory (type) modification page |
|
mulu1_xiugai_act.php |
Level 1 directory (type) modification program |
|
mulu2_add.php |
2 Catalog (type) entry page |
|
mulu2_add_act.php |
2 Directory (type) entry program |
|
mulu2_xiugai.php |
2 Directory (type) modification page |
|
mulu2_xiugai_act.php |
2 Directory (type) modification program |
|
mulu_del.php |
Stadium directory deletion |
|
dingdan_list.php |
Reservation order list |
|
dingdan_del.php |
预约订单删除 |
小程序接口文件
小程序接口
程序名 |
包含 |
|
首页 |
wx_lunbo.php |
获取顶部轮播图片数组(多个图片) |
wx_news_list.php |
获取最新资讯3条 |
|
wx_xiangmu_top4.php |
获取最新4个体育馆 |
|
资讯 |
wx_news_list_byid.php |
获取资讯列表 |
wx_news_info.php |
获取资讯信息详情 |
|
体育馆 |
wx_xiangmu_all.php |
加载体育馆列表 |
体育馆定位 |
wx_xiangmu_all_dingwei.php |
按定位加载体育馆列表 |
体育馆详情 |
wx_xiangmu_xinxi_byid.php |
获取体育馆简介 |
wx_xiangmu_xinxi_jieshao_byid.php |
获取体育馆详情 |
|
wx_xiangmu_shoucang_add.php |
录入收藏信息 |
|
wx_xiangmu_Pinlun_list.php |
获取体育馆评论列表 |
|
体育馆预约 |
wx_xiangmu_xinxi_byid.php |
获取体育馆简介 |
wx_xiangmu_riqi_list_byid.php |
获取类型列表 |
|
wx_dianying_changci_list_byid.php |
选择场地类型 |
|
wx_xiangmu_changci_xiangqing_byid.php |
获取类型下的具体场地 |
|
wx_xiangmu_changci_xiangqing_byid2.php |
获取类型下的具体场地(已选) |
|
wx_xiangmu_dingzuo_add.php |
提交预约信息 |
|
留言 |
wx_api_liuyan.php |
提交留言 |
会员 |
wx_check_reg_yonghu.php |
普通用户注册 |
wx_check_login_yonghu.php |
普通用户登录 |
|
wx_check_reg_yonghu-weixin.php |
微信登录 |
|
wx_xiangmu_yuyue_list_byUserid.php |
获取用户预约列表 |
|
wx_xiangmu_dingdan_fukuan.php |
模拟付款 |
|
wx_xiangmu_dingdan_del.php |
取消删除预约 |
|
wx_xiangmu_AddPinLun.php |
提交评论内容 |
|
wx_xiangmu_shoucang_list.php |
加载用户收藏列表 |
|
wx_xiangmu_shoucang_del.php |
删除收藏 |
|
wx_huiyuan_xinxi_byid.php |
读取会员信息 |
|
wx_huiyuan_xinxi_update_byid.php |
更新会员信息 |
|
wx_huiyuan_mima_act.php |
密码修改 |
数据库表
广告表:guanggao
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
wz1 |
longtext |
广告1的文字 |
tpdz1 |
longtext |
广告1的图片地址 |
ljdz1 |
longtext |
广告1的链接地址 |
wz2 |
longtext |
广告2的文字 |
tpdz2 |
longtext |
广告2的图片地址 |
ljdz2 |
longtext |
广告2的链接地址 |
wz3 |
longtext |
广告3的文字 |
tpdz3 |
longtext |
广告3的图片地址 |
ljdz3 |
longtext |
广告3的链接地址 |
会员表:huiyuan
字段名 |
类型 |
备注 |
id |
int |
自动递增;菜单的id(主键),不允许空 |
shouji |
varchar |
手机号:用户名 |
mima |
varchar |
密码 |
xingming |
varchar |
姓名 |
|
varchar |
QQ号 |
|
varchar |
|
wx_openid |
varchar |
登录微信的openid |
wx_nicheng |
varchar |
微信昵称 |
wx_touxiang |
varchar |
微信头像图片地址 |
add_riqi |
date |
写入数据库日期 |
add_shijian |
datetime |
写入数据库时间 |
beizhu |
text |
备注 |
留言表:liuyan
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
xingming |
varchar |
姓名 |
dianhua |
varchar |
电话 |
youxiang |
varchar |
邮箱 |
zhuti |
varchar |
主题 |
neirong |
longtext |
内容 |
riqi |
datetime |
留言录入数据库的日期 |
shijian |
datetime |
留言录入数据库的时间 |
资讯表:zixun
字段名 |
类型 |
备注 |
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
xinxi_lxid1 |
int(11) |
外键:信息1级类型的id,参考资讯类型表的id |
xinxi_biaoti |
varchar(250) |
信息标题 |
xinxi_riqi |
date |
信息日期 |
xinxi_neirong |
text |
内容: |
add_riqi |
date |
写入数据库日期 |
add_shijian |
datetime |
写入数据库时间 |
资讯分类表:zixun_fenlei
字段名 |
类型 |
备注 |
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
caidan_mingcheng |
varchar(50) |
菜单名称,允许空 |
paixu_id |
int(11) |
排序数字,数字大的在前面,允许空 |
体育馆项目表:xiangmu
字段名 |
类型 |
备注 |
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
xinxi_biaoti |
varchar |
体育馆标题 |
dizhi |
varchar |
体育馆地址 |
xinxi_riqi |
date |
发布日期 |
xinxi_jianjie_yn |
int |
是否有简介,0默认,1有简介 |
xinxi_jianjie |
longtext |
简介内容 |
xinxi_tupian_yn |
int |
是否有图片,0默认,1有图片 |
xinxi_tupian |
longtext |
图片地址 |
xinxi_neirong |
longtext |
体育馆内容 |
add_riqi |
date |
录入数据库日期 |
add_shijian |
datetime |
录入数据库时间 |
jingdu |
varchar |
经度 |
weidu |
varchar |
维度 |
mi |
int |
当前用户距离,多少米 |
gongli |
double |
当前用户距离,多少公里 |
体育馆目录表:xiangmu_mulu
id |
Int(11) |
自动递增;菜单的id(主键),不允许空 |
xinxi_biaoti |
varchar |
体育馆场地标题,如:篮球场,羽毛球场等 |
ting |
int |
几号场地(哪个厅) |
jiage |
int |
价格,多少钱一个小时 |
xinxi_riqi |
date |
发布日期 |
xinxi_neirong |
longtext |
备注 |
add_riqi |
date |
录入数据库日期 |
add_shijian |
datetime |
录入数据库时间 |
tushu_id |
int |
外键:体育馆id |
tushu_mc |
longtext |
体育馆id对应的名称 |
mulu_jibie |
int |
目录级别;1级是场地类型,2级是具体场地 |
up_id |
int |
1级目录为0;2级目录对应1级目录的id |
up_mc |
longtext |
对应id名称 |
体育馆收藏表:xiangmu_shoucang
字段名 |
类型 |
备注 |
id |
int |
自动递增;菜单的id(主键),不允许空 |
u_id |
int |
用户id 外键,是哪个用户的收藏,是用户表的id |
dianying_id |
int |
外键:体育馆id |
dianying_mc |
Varchar |
体育馆id中文名称 |
riqi |
date |
收藏的日期 |
shijian |
datetime |
收藏的时间 |
体育馆评论表:xiangmu_pinglun
字段名 |
类型 |
备注 |
id |
int |
自动递增;菜单的id(主键),不允许空 |
u_id |
int |
用户id 外键,是哪个用户的评价,是用户表的id |
dianying_id |
int |
外键:体育馆id |
dingdan_id |
int |
外键:订单id |
|
int |
几星,值:1-5 |
neiring |
longtext |
评价内容 |
riqi |
date |
评价的日期 |
shijian |
datetime |
评价的时间 |
体育馆订单表:xiangmu_dingdan
字段名 |
类型 |
备注 |
id |
int |
自动递增;菜单的id(主键),不允许空 |
u_id |
int |
用户id:预约座位的用户id |
dianying_id |
int |
外键:体育馆id |
dianying_mc |
Varchar |
体育馆id中文名称 |
yuyue_biaoti |
varchar |
体育馆 > 场地类型 |
yuyue_riqi |
varchar |
预约日期 |
yuyue_riqiid |
int |
外键:目录,预约日期对应di |
yuyue_changci |
varchar |
体育馆 > 场地类型 > 具体场地 |
yuyue_changciid |
int |
外键:体育馆 > 场地类型 > 具体场地在目录的id |
yuyue_zuoweis |
varchar |
预约了几个小时(类似几个座位)的id集合 |
yuyue_piaoshu |
int |
预约了几个小时(类似几个座位) |
yuyue_feiyong |
int |
预约费用 |
riqi |
date |
写入数据库日期 |
shijian |
datetime |
Write time to database |
zt |
tinyint |
Status: 1 Appointment pending payment, 2 Paid. Awaiting comment, 3 Completed |
zt_beizhu |
text |
Operational notes |
Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/54/1721.html