Graduation project works based on WeChat e-book novel reading applet (13) Book 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 project is to design and implement an online e-book reading system based on the WeChat applet. The front-end users use the applet, and the back-end management uses a B/S architecture based on PHP+MySql; e-book information and book catalogs are entered through the back-end. Information, users log in through the mini program to view book lists, view book information, view book catalogs, and read.

Significance: The WeChat Mini Program online e-book reading system is a product of the combination of computer technology and books. The WeChat Mini Program online e-book reading system achieves efficient management of e-books. With the continuous improvement of computer technology, computers have penetrated into every corner of social life.

Involving database

E-book classification table: tushu_fenlei

Field name

type

Remark

id

Int

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

caidan_mingcheng

varchar

Category menu name, empty allowed

caidan_jibie

int

Category 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 category menu belongs. Empty is allowed.

paixu_id

int

Sort numbers, with larger numbers in front, empty allowed (reserved)

Electronic book list: tushu

Field name

type

Remark

id

Int

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

xinxi_lxid1

int

The id of the first level type of electronic book information, the id of the reference type table

xinxi_lxid2

int

The id of the second-level type of electronic book information, the id of the reference type table

xinxi_biaoti

varchar

Electronic book information title

xinxi_riqi

date

Electronic book information date

xinxi_tupian

varchar

Electronic book information pictures

xinxi_neirong

text

E-book content:

add_riqi

date

Write database date

add_shijian

datetime

Write time to database

background manager

ht/shu

library management

caidan_1ji.php

Book level 1 classification management

caidan_2ji.php

Book level 2 classification management

tushu_add.php

Book entry page

tushu_add_act.php

Book entry program processing

tushu_list.php

Book list

tushu_xiugai.php

Book modification page

tushu_xiugai_act.php

Book editing process

tushu_del.php

book deletion

Mini program interface

Classification

wx_shu_fenlei_list.php

Get category list

books

wx_shu_all.php

Get all books and queries

Get the book classification interface

interface program

1

wx_shu_fenlei_list.php

Parameters: none

Interface sample

1

http://localhost:500/wx_shu_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

[

    {

        "jibie":1,

         "jibie_id":236,

        "jibie_mc":"心理励志"

          

         

        ,"menu":[   {

                "jibie":2,

                "jibie_id":246,

                "jibie_mc":"女性励志"

            }

        ,   {

                "jibie":2,

                "jibie_id":247,

                "jibie_mc":"心灵鸡汤"

            }

        ,   {

                "jibie":2,

                "jibie_id":248,

                "jibie_mc":"社交"

            }

        ,   {

                "jibie":2,

                "jibie_id":249,

                "jibie_mc":"口才"

            }

        ]

    }

    ,   {

            "jibie":1,

            "jibie_id":237,

            "jibie_mc":"儿童书"

        ,"menu":[   {

                "jibie":2,

                "jibie_id":255,

                "jibie_mc":"益智游戏"

            }

        ,   {

                "jibie":2,

                "jibie_id":256,

                "jibie_mc":"少儿英语 "

            }

        ,   {

                "jibie":2,

                "jibie_id":257,

                "jibie_mc":"动漫卡通"

            }

        ,   {

                "jibie":2,

                "jibie_id":258,

                "jibie_mc":"幼儿启蒙"

            }

        ,   {

                "jibie":2,

                "jibie_id":259,

                "jibie_mc":"儿童文学 "

            }

        ,   {

                "jibie":2,

                "jibie_id":260,

                "jibie_mc":"科普百科"

            }

        ,   {

                "jibie":2,

                "jibie_id":261,

                "jibie_mc":"绘本"

            }

        ]

    }

    ,   {

        "jibie":1,

         "jibie_id":241,

        "jibie_mc":"经济管理"

          

         

        ,"menu":[   {

                "jibie":2,

                "jibie_id":263,

                "jibie_mc":"aaaa"

            }

        ]

    }

    ,   {

        "jibie":1,

         "jibie_id":242,

        "jibie_mc":"历史文化"

    }

    ,   {

        "jibie":1,

         "jibie_id":243,

        "jibie_mc":"文艺"

          

         

        ,"menu":[   {

                "jibie":2,

                "jibie_id":250,

                "jibie_mc":"绘画"

            }

        ,   {

                "jibie":2,

                "jibie_id":251,

                "jibie_mc":"书法"

            }

        ,   {

                "jibie":2,

                "jibie_id":252,

                "jibie_mc":"摄影"

            }

        ,   {

                "jibie":2,

                "jibie_id":253,

                "jibie_mc":"音乐"

            }

        ,   {

                "jibie":2,

                "jibie_id":254,

                "jibie_mc":"设计"

            }

        ]

    }

,   {

        "jibie":1,

         "jibie_id":244,

        "jibie_mc":"小说"

    }

,   {

        "jibie":1,

         "jibie_id":245,

        "jibie_mc":"其他"

    }

]

Get all book interfaces

interface program

1

wx_shu_all.php

Parameters: none

Interface sample

1

http://localhost:500/wx_shu_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

34

35

36

37

38

39

40

[

    {

        "ts_id" : 44,

        "ts_mc" : "俞军产品方法论 ",

        "ts_jianjie" : "",

        "ts_tupian" : "http://localhost:500/up/tupian/202006211400380000008546.jpg",

        "yeshu" : 2    },

    {

        "ts_id" : 43,

        "ts_mc" : "女性事业进阶与领导力提升",

        "ts_jianjie" : "",

        "ts_tupian" : "http://localhost:500/up/tupian/202006211344290000002100.jpg",

        "yeshu" : 2    },

    {

        "ts_id" : 42,

        "ts_mc" : "九州飘零书",

        "ts_jianjie" : "",

        "ts_tupian" : "http://localhost:500/up/tupian/202006211221210000007738.jpg",

        "yeshu" : 2    },

    {

        "ts_id" : 41,

        "ts_mc" : "三国演义(套装上下册)",

        "ts_jianjie" : "",

        "ts_tupian" : "http://localhost:500/up/tupian/202006211220460000003443.jpg",

        "yeshu" : 2    },

    {

        "ts_id" : 40,

        "ts_mc" : "小王子",

        "ts_jianjie" : "",

        "ts_tupian" : "http://localhost:500/up/tupian/202006211220150000002298.jpg",

        "yeshu" : 2    },

    {

        "ts_id" : 39,

        "ts_mc" : "科幻编年史",

        "ts_jianjie" : "",

        "ts_tupian" : "http://localhost:500/up/tupian/202006211219470000009187.jpg",

        "yeshu" : 2    }

]

Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/40/1694.html

Guess you like

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