Based on the Wechat voting mini-program graduation project finished product (14) entry information and voting 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
 

involving database

Voting browsing scale: toupiao_liulan

field name

type

Remark

id

Int

Auto-increment; the id (primary key) of the menu, empty is not allowed

u_id

int

user id

zhuti_id

int

poll topic id, external key

add_date

date

date

add_time

datetime

date time

Voting form: toupiao_list

field name

type

Remark

id

Int

Auto-increment; the id (primary key) of the menu, empty is not allowed

u_id

int

user id

zhuti_id

int

poll topic id, external key

add_date

date

date

add_time

datetime

date time

applet interface

Entry Information

wx_toupiao_liulanxinxi.php

write access information

wx_toupiao_zhuti_xinxi_byid.php

read information

wx_toupiao_tou.php

Submit voting information to the interface

Read parameter information interface

interface program

1

wx_toupiao_zhuti_xinxi_byid.php

parameter

1

zhuti_id:参数主题id

interface sample

1

zhuti_id

return data

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

{

    "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",   

    "bb_tupians" : "http://localhost:500/phpup/upload/202006181058150000009428.jpg",

    "liulanshu" : 0,

    "piaoshu" : 3,

    "paihang" : 3,

    "add_date" : "2023-12-12"

}

write access information interface

interface program

1

wx_toupiao_liulanxinxi.php

parameter

1

cs_zhuti_id:主题id

Submit voting interface

interface program

1

wx_toupiao_tou.php

parameter

1

2

cs_u_id:投票用户id,

cs_zhuti_id:主题id

参考来源:https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/38/1464.html

Guess you like

Origin blog.csdn.net/u013818205/article/details/132690131
Recommended