Graduation design works based on WeChat online education video learning applet (10) video classification and list

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.

Currently reading tutorial: PHP background WeChat video learning applet system > 4.5 Video classification and list

Involving database tables

Video classification table: jiaocheng_fenlei

Field name

type

Remark

id

Int

Automatically increment; menu id (primary key), empty is not allowed

caidan_mingcheng

varchar

Menu name, empty allowed

caidan_jibie

int

Menu level, empty allowed

Here to do level 2: the value can be: 1 | 2

caidan_suoshu

int

The id of the upper-level menu to which the menu belongs. Empty is allowed.

paixu_id

int

Sort the numbers, with larger numbers in front, allowing empty spaces

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

Backend management files

ht/shipin

Video management

caidan_1ji.php

Video level 1 classification management

caidan_2ji.php

Video 2-level classification 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

WeChat applet interface

Classification

wx_shipin_fenlei_list.php

Get category list

video

wx_shipin_all.php

Get all videos and query content

Get video classification interface

interface program

1

wx_shipin_fenlei_list.php

Parameters: none

Interface sample

1

http://localhost:500/wx_shipin_fenlei_list.php

Return data

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

[

    {

        "jibie":1,

         "jibie_id":236,

        "jibie_mc":"基础课"   

        ,"menu":[   {

                "jibie":2,

                "jibie_id":246,

                "jibie_mc":"HTML"

            }

        ,   {

                "jibie":2,

                "jibie_id":247,

                "jibie_mc":"CSS"

            }

        ,   {

                "jibie":2,

                "jibie_id":248,

                "jibie_mc":"HTML5"

            }

        ,   {

                "jibie":2,

                "jibie_id":249,

                "jibie_mc":"CSS3"

            }

        ]

    }

    ,  

    {

        "jibie":1,

         "jibie_id":237,

        "jibie_mc":"数据库"

        ,"menu":[   {

                "jibie":2,

                "jibie_id":255,

                "jibie_mc":"ACCESS"

            }

        ,   {

                "jibie":2,

                "jibie_id":256,

                "jibie_mc":"MYSQL"

            }

        ,   {

                "jibie":2,

                "jibie_id":257,

                "jibie_mc":"SQLSERVER"

            }

        ,   {

                "jibie":2,

                "jibie_id":258,

                "jibie_mc":"oracle"

            }

        ,   {

                "jibie":2,

                "jibie_id":259,

                "jibie_mc":"MongoDb"

            }

        ,   {

                "jibie":2,

                "jibie_id":260,

                "jibie_mc":"Redis"

            }

        ,   {

                "jibie":2,

                "jibie_id":261,

                "jibie_mc":"其他"

            }

        ]

    }

    ,  

    {

        "jibie":1,

         "jibie_id":241,

        "jibie_mc":"WEB开发"

        ,"menu":[   {

                "jibie":2,

                "jibie_id":264,

                "jibie_mc":"ASP"

            }

        ,   {

                "jibie":2,

                "jibie_id":265,

                "jibie_mc":"PHP"

            }

        ,   {

                "jibie":2,

                "jibie_id":266,

                "jibie_mc":"NET"

            }

        ,   {

                "jibie":2,

                "jibie_id":267,

                "jibie_mc":"JSP"

            }

        ,   {

                "jibie":2,

                "jibie_id":268,

                "jibie_mc":"其他"

            }

        ]

    }

    ,  

    {

        "jibie":1,

         "jibie_id":242,

        "jibie_mc":"微信小程序"

    }

    ,  

    {

        "jibie":1,

         "jibie_id":243,

        "jibie_mc":"JavaScript"   

        ,"menu":[   {

                "jibie":2,

                "jibie_id":250,

                "jibie_mc":"Javascript"

            }

        ,   {

                "jibie":2,

                "jibie_id":251,

                "jibie_mc":"Angular"

            }

        ,   {

                "jibie":2,

                "jibie_id":252,

                "jibie_mc":"React"

            }

        ,   {

                "jibie":2,

                "jibie_id":253,

                "jibie_mc":"Typescript"

            }

        ,   {

                "jibie":2,

                "jibie_id":254,

                "jibie_mc":"node"

            }

        ,   {

                "jibie":2,

                "jibie_id":262,

                "jibie_mc":"jquery"

            }

        ,   {

                "jibie":2,

                "jibie_id":263,

                "jibie_mc":"Vue"

            }

        ]

    }

    ,  

    {

        "jibie":1,

         "jibie_id":244,

        "jibie_mc":"移动开发"

    }

    ,  

    {

        "jibie":1,

         "jibie_id":245,

        "jibie_mc":"其他"

    }

]

Get all video interfaces

interface program

1

wx_shipin_all.php

Parameters: none

Interface sample

1

http://localhost:500/wx_shipin_all.php

Return data

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

[

    {

        "sp_id" : 47,

        "sp_mc" : "测试视频",

        "sp_jianjie" : "",

        "sp_tupian" : "http://localhost:500/up/tupian/202007011152060000008264.png",

        "sp_jiage" : 20,     

        "yeshu" : 2    }

    ,

    {

        "sp_id" : 46,

        "sp_mc" : "测试课程01",

        "sp_jianjie" : "",

        "sp_tupian" : "http://localhost:500/up/tupian/202006281453510000005633.png",

        "sp_jiage" : 0,     

        "yeshu" : 2    }

    ,

    {

        "sp_id" : 44,

        "sp_mc" : "CSS零基础入门",

        "sp_jianjie" : "",

        "sp_tupian" : "http://localhost:500/up/tupian/202006281146310000009479.png",

        "sp_jiage" : 19,     

        "yeshu" : 2    }

    .......

    {

        "sp_id" : 39,

        "sp_mc" : "JavaScript基础",

        "sp_jianjie" : "",

        "sp_tupian" : "http://localhost:500/up/tupian/202006281143540000005720.png",

        "sp_jiage" : 79,     

        "yeshu" : 2    }

]

Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/41/1774.html

Guess you like

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