Blogger introduction: 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; specializes in 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 topic is to design and implement a video on demand 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; through the back-end, users can add course information, video information, etc. Log in through the mini program to view video information, click to play the video, learn for free, or purchase paid learning.
Significance : The WeChat mini program video on demand system is a product of the combination of computer technology and video management. The WeChat mini program video on demand system achieves efficient management of videos. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. On the premise that the staff have certain computer operation capabilities, this WeChat mini program video on demand system software is specially compiled to improve the efficiency of video management.
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 |
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/shipin Video management |
shipin_add.php |
Video entry page |
shipin_add_act.php |
Video recording program processing |
|
shipin_list.php |
Video list |
|
shipin_xiugai.php |
Video modification page |
|
shipin_xiugai_act.php |
Video editing program processing |
|
shipin_del.php |
Video deletion |
|
jiaocheng_mulu.php |
video directory |
|
mulu_del.php |
Video directory content deletion |
|
mulu1_add.php |
Video catalog content entry page |
|
mulu1_add_act.php |
Video directory chapter content entry program processing |
|
mulu1_xiugai.php |
Video catalog chapter content modification page |
|
mulu_xiugai_act.php |
Video catalog chapter content modification program processing |
|
mulu2_add.php |
Video directory section content entry page |
|
mulu2_add_act.php |
Video directory section content entry program processing |
|
mulu2_xiugai.php |
视频目录节内容修改页面 |
|
mulu2_xiugai_act.php |
视频目录节内容修改程序处理 |
|
dingdan_list.php |
视频订单列表 |
微信小程序接口
小程序接口
程序名 |
包含 |
|
首页 |
wx_lunbo.php |
获取顶部轮播图片数组(多个图片) |
wx_news_list.php |
获取最新资讯3条 |
|
wx_shipin_top6.php |
获取最新6个视频 |
|
分类 |
wx_shipin_fenlei_list.php |
获取分类列表 |
视频 |
wx_shipin_all.php |
获取所有视频和查询内容 |
视频详情 |
wx_shipin_mulu_index.php |
读取章节(目录)列表 |
wx_shipin_xinxi_byid.php |
获取 视频简介信息 |
|
wx_shipin_xinxi_kecheng_byid.php |
获取 课程详细信息 |
|
wx_shipin_xinxi_laoshi_byid.php |
获取老师介绍信息 |
|
wx_shipin_shoucang_add.php |
收藏接口 |
|
wx_shipin_goumai_add.php |
视频购买 |
|
视频学习 |
wx_shipin_xiangqing.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_shipin_shoucang_list.php |
收藏列表 |
|
wx_shipin_shoucang_del.php |
收藏删除 |
|
wx_shipin_goumai_list.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) |
排序数字,数字大的在前面,允许空 |
老师分类表:laoshi_fenlei
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
caidan_mingcheng |
varchar |
菜单名称,允许空 |
paixu_id |
int |
排序数字,数字大的在前面,允许空 |
老师表:laoshi
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
xinxi_lxid1 |
int |
信息1级类型的id,默认上课老师 |
xinxi_biaoti |
varchar |
老师名称 |
xinxi_riqi |
date |
信息日期 |
xinxi_tupian |
varchar |
信息图片地址,老师头像 |
xinxi_neirong |
text |
信息内容,老师介绍 |
add_riqi |
date |
写入数据库日期 |
add_shijian |
datetime |
写入数据库时间 |
youxiang |
varchar |
老师邮箱 |
|
varchar |
老师QQ |
weixin |
varchar |
老师微信 |
视频分类表:jiaocheng_fenlei
字段名 |
类型 |
备注 |
id |
Int |
自动递增;菜单的id(主键),不允许空 |
caidan_mingcheng |
varchar |
菜单名称,允许空 |
caidan_jibie |
int |
菜单级别,允许空 这里做到2级:值可以是:1 | 2 |
caidan_suoshu |
int |
菜单所属上级菜单的id,允许空 |
paixu_id |
int |
排序数字,数字大的在前面,允许空 |
Video course schedule: shipin
Field name |
type |
Remark |
id |
Int |
Automatically increment; menu id (primary key), empty is not allowed |
xinxi_lxid1 |
int |
The id of the information level 1 type, refer to the id of the type table |
xinxi_lxid2 |
int |
The id of the information level 1 type, refer to the id of the type table |
xinxi_biaoti |
varchar |
Message title |
xinxi_riqi |
date |
Information date |
xinxi_tupian |
varchar |
Information picture address |
xinxi_neirong |
text |
information |
add_riqi |
datetime |
Date the information was released |
add_shijian |
datetime |
Information release time |
sp_jiage |
int |
Video price, 0 means free |
laoshi_id |
int |
Class teacher id |
Video course catalog: shipin_mulu
Field name |
type |
Remark |
id |
Int |
Automatically increment; menu id (primary key), empty is not allowed |
xinxi_biaoti |
varchar |
Message title |
xinxi_riqi |
date |
Information date |
xinxi_tupian |
varchar |
Chapter here is empty, section here is the video address. |
xinxi_ding |
tinyint |
Whether to keep the reservation at the top: 1 means charge; 0 means free |
xinxi_neirong |
text |
information |
add_riqi |
datetime |
Date the information was released |
add_shijian |
datetime |
Information release time |
tushu_id |
int |
video id |
tushu_mc |
text |
Video id Chinese name |
mulu_jibie |
int |
Video level: 1 means chapter, 2 means specific video (section) |
up_id |
int |
The chapter is 0; the specific video is the id of the chapter it belongs to. |
up_mc |
text |
The specific video is the id name of the chapter it belongs to; the chapter is empty |
Video collection list: shipin_shoucang
Field name |
type |
Remark |
id |
int |
Automatically increment; menu id (primary key), empty is not allowed |
u_id |
int |
user id The foreign key, which user’s collection it is, is the id of the user table |
kecheng_id |
int |
Video id: foreign key, which video is collected |
kecheng_mc |
varchar |
Favorite video name |
hold |
date |
date of collection |
shijian |
datetime |
collection time |
Video order form: shipin_dingdan
Field name |
type |
Remark |
id |
int |
Automatically increment; menu id (primary key), empty is not allowed |
u_id |
int |
user id The foreign key is which user’s order is the id of the user table |
kecheng_id |
int |
Which course did you purchase? |
hold |
datetime |
date |
shijian |
datetime |
time |
Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/41/1516.html