Based on Wechat voting mini-program graduation project finished product (9) mini-program home page function interface

Introduction to the blogger: The author of "Vue.js Introduction and Mall Development" and "WeChat Mini Program Mall Development", CSDN blog expert, online education expert, CSDN diamond lecturer; focusing on graduation design education and counseling for college students.

All projects come with basic knowledge video courses from beginners to masters, free of charge

The project is equipped with corresponding development documents, opening reports, task books, PPT, paper templates, etc.

Contact information is available at the end of the article

Purpose: The main goal of this topic is to design and realize a voting system based on WeChat applets. The front-end users use the applets, and the background management uses the B/S architecture based on PHP+MySql; add information, manage and upload voting information through the background, and users Management, etc.; users log in through the applet, initiate voting, upload voting information, view voting, participate in voting, etc.

Significance: The WeChat mini-program selection voting system is the product of the combination of computer technology and voting management. Through the WeChat mini-program selection voting system, the efficient management of voting is realized. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. The method of manual voting is not only inefficient, error-prone, and cumbersome, but also consumes a lot of manpower. Under the premise of this, this WeChat applet is specially compiled to select the voting system software to improve the management efficiency of voting.

applet interface

front page

wx_toupiao_zhuti_chaxun.php

query interface

wx_toupiao_tongji.php

get statistics

wx_lunbo.php

Get the top carousel image array (multiple images)

wx_news_list.php

Get the latest information 3 items

wx_toupiao_tou.php

Submit voting information to the interface

wx_toupiao_zhuti_chaxun.php

Get the default 4 latest information

Get carousel interface

interface address

1

wx_lunbo.php

Parameters: none

interface sample

1

http://localhost:500/wx_lunbo.php

return data

1

2

3

4

5

    {"tupian":"http://localhost:500/up/tupian/202206131613090000009569.png","dizhi":"/pages/xinxi/xiangqing?cs_xxid=29"}, 

    {"tupian":"http://localhost:500/up/tupian/202206131611360000008843.png","dizhi":"/pages/xinxi/xiangqing?cs_xxid=31"}, 

    {"tupian":"http://localhost:500/up/tupian/202206131611390000004004.png","dizhi":"/pages/xinxi/xiangqing?cs_xxid=31"} 

]

Get statistical data interface

interface address

1

wx_toupiao_tongji.php

Parameters: none

Interface sample:

1

http://localhost:500/wx_toupiao_tongji.php

return data

1

2

3

4

5

6

7

{ "shu_baoming" : 15, "shu_piao" : 16, "shu_liulan" : "1004" }

排列下

    "shu_baoming" : 15, 

    "shu_piao" : 16, 

    "shu_liulan" : "1004" 

}

Get the latest information interface

interface address

1

wx_news_list.php

Parameters: none

interface sample

1

http://localhost:500/wx_news_list.php

return data

1

2

3

4

5

    { "myid" : 31, "mybiaoti" : "报名投票小程序系统功能清单", "myshijian" : "12-12" } , 

    { "myid" : 30, "mybiaoti" : "测试公告信息16", "myshijian" : "12-12" } , 

    { "myid" : 29, "mybiaoti" : "测试公告信息15", "myshijian" : "12-12" } 

]

Get the latest entries

interface program

1

wx_toupiao_zhuti_chaxun.php

Parameters: none

interface sample

1

http://localhost:500/wx_toupiao_zhuti_chaxun.php

return data

1

2

3

4

5

6

7

8

9

10

    { "zhuti_id" : 23, "u_id" : 743, "bb_xingming" : "张三", "bb_xingbie" : "男", "bb_nianling" : 3, "bb_shouji" : "13512345678", "bb_xuanyan" : "大三大三我追三", "bb_tupian" : "http://localhost:500/phpup/upload/202206131615380000005796.jpg", "liulanshu" : 0, "piaoshu" : 1, "paihang" : 5, "add_date" : "2023-12-12" } ,

    { "zhuti_id" : 19, "u_id" : 739, "bb_xingming" : "测试名09", "bb_xingbie" : "女", "bb_nianling" : 5, "bb_shouji" : "13516821613", "bb_xuanyan" : "测试宣言信息", "bb_tupian" : "http://localhost:500/phpup/upload/01.jpg", "liulanshu" : 0, "piaoshu" : 3, "paihang" : 3, "add_date" : "2023-12-12" } , 

    { "zhuti_id" : 18, "u_id" : 739, "bb_xingming" : "测试名08", "bb_xingbie" : "女", "bb_nianling" : 5, "bb_shouji" : "13516821613", "bb_xuanyan" : "测试宣言信息", "bb_tupian" : "http://localhost:500/phpup/upload/03.jpg", "liulanshu" : 0, "piaoshu" : 1, "paihang" : 5, "add_date" : "2023-12-12" } , 

    { "zhuti_id" : 17, "u_id" : 739, "bb_xingming" : "测试名07", "bb_xingbie" : "女", "bb_nianling" : 3, "bb_shouji" : "13516821613", "bb_xuanyan" : "测试宣言信息", "bb_tupian" : "http://localhost:500/phpup/upload/14.jpg", "liulanshu" : 0, "piaoshu" : 2, "paihang" : 4, "add_date" : "2023-12-12" } 

]

Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/38/1459.html

Guess you like

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