Graduation project based on the WeChat vaccine reservation applet (9) Vaccine reservation and order interface

Introduction to the blogger: Author of "Vue.js Introduction and Actual Mall Development" and "WeChat Mini Program Mall Development", CSDN blog expert, online education expert, CSDN diamond lecturer; focus on graduation design education and counseling 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 a vaccine reservation 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; the vaccine content, price, and open reservations are added through the back-end. According to the date and time period, users can log in through the mini program to view the vaccine, select the appointment date and time, and make an appointment for the vaccine.

Significance: The vaccine reservation system based on small programs is the product of the combination of computer technology and vaccine management. Through the vaccine reservation system, efficient management of vaccines is achieved. With the continuous improvement of computer technology, computers have penetrated into every corner of social life. However, the method of manual vaccine reservation is not only inefficient, error-prone, cumbersome, but also consumes a lot of manpower. In order to meet the requirements of medical staff for efficient management of vaccines, vaccine personnel, vaccine reservations, etc., on the premise that the staff have certain computer operation capabilities, this small program-based vaccine reservation system software is specially compiled to improve the management efficiency of vaccine use. .
 

Vaccine reservation interface

a7-vaccine appointment.png

1. WeChat Vaccine Reservation Mini Program - Vaccine Reservation Function - Database Involved

Vaccine order form: yimiao_dingdan

Field name

type

Remark

id

int

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

u_id

int

userid: userid

yimiao_id

int

vaccine id

yimiao_mc

varchar

Vaccine name

yuyue_riqi

varchar

Appointment date

yuyue_riqiid

int

Appointment date id, day of the week

yuyue_zuoweis

varchar

seat

yuyue_piaoshu

int

number of votes

yuyue_feiyong

int

cost

hold

date

date

shijian

datetime

time

zt

tinyint

Status: 1 means pending payment, 2 means paid

zt_beizhu

varchar

Status operation notes

shijian_fukuan

datetime

Payment time

lianxiren

varchar

Contact person

dianhua

varchar

Telephone

beizhu

varchar

Remark

2. WeChat vaccine reservation applet-vaccine reservation function-involves background management files

ht/ yimiao

Vaccine orders

yuyue_list.php

Vaccine appointment list

yuyue_del.php

Vaccine appointment deleted

yuyue_leixing_xiugai.php

Vaccine Appointment Status Modification Page

yuyue_leixing_xiugai_act.php

Vaccine Appointment Status Handler

3. WeChat Vaccine Reservation Mini Program - Vaccine Reservation Function - Involves Mini Program Interface

Make a vaccine appointment

wx_yimiao_xinxi_byid.php

Get vaccine information

wx_yimiao_haoyuan_yes.php

Obtain information about vaccine appointments

wx_yimiao_ding_add.php

Submit vaccine appointment information

3.1 Get vaccine information interface

interface program

1

wx_yimiao_xinxi_byid.php

parameter

1

ym_id:疫苗id

3.2 Obtain the information interface of vaccine reservation

interface program

1

wx_yimiao_haoyuan_yes.php

parameter

1

2

yimiao_id:当前疫苗id,

yuyue_riqi:选择的预约日期

3.3 Submit vaccine appointment information interface

interface program

1

wx_yimiao_ding_add.php

Interface parameters

1

2

3

4

5

6

7

8

9

10

11

12

13

u_id:用户id,

yimiao_id:疫苗id,

yimiao_mc:疫苗名称,

yuyue_riqi:预约日期, 

yuyue_riqiid:预约日期是星期几,

yuyue_zuoweis:预约的位置序号,  

yuyue_piaoshu:预约几个,    

yuyue_feiyong:费用,

lianxiren:联系人,

dianhua:电话,

beizhu:备注

Order interface

a8-My vaccine appointment order.png

WeChat Mini Program Vaccine Reservation System-My Vaccine Reservation Order-Interface

wx_yimiao_yuyue_list_byUserid.php

Get user reservation list

wx_yimiao_dingdan_fukuan.php

Simulate payment interface

wx_yimiao_dingdan_del.php

Cancel application interface

Vaccine Appointment Mini Program-My Vaccine Order-Get User Appointment List Interface

interface program

1

wx_yimiao_yuyue_list_byUserid.php

parameter

1

u_id:用户id

Interface sample

1

http://localhost:500/wx_yimiao_yuyue_list_byUserid.php?u_id=743

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

[      

    {

        "yuyue_id" : 172,

        "u_id" : 743,

        "yimiao_id" : 53,

        "yimiao_mc" : "脊髓灰质炎疫苗",

        "yuyue_riqi" : "2023/6/27",

        "yuyue_riqiid" : 2,

        "yuyue_zuoweis" : "3",

        "yuyue_piaoshu" : 1,

        "yuyue_feiyong" : 55,

        "zt" : "1"

    }

    

    {

        "yuyue_id" : 168,

        "u_id" : 743,

        "yimiao_id" : 52,

        "yimiao_mc" : "百白破制剂",

        "yuyue_riqi" : "2023/12/12",

        "yuyue_riqiid" : 5,

        "yuyue_zuoweis" : "3",

        "yuyue_piaoshu" : 1,

        "yuyue_feiyong" : 40,

        "zt" : "2"

    }

    

    {

        "yuyue_id" : 167,

        "u_id" : 743,

        "yimiao_id" : 54,

        "yimiao_mc" : "麻疹疫苗",

        "yuyue_riqi" : "2023/12/12",

        "yuyue_riqiid" : 6,

        "yuyue_zuoweis" : "4,5",

        "yuyue_piaoshu" : 2,

        "yuyue_feiyong" : 0,

        "zt" : "2"

    }    

]

Vaccine Appointment Mini Program-My Vaccine Order-Simulated Payment Interface

interface program

1

wx_yimiao_dingdan_fukuan.php

parameter

1

2

uid: 用户id,

yyid: 订单id

Vaccine Appointment Mini Program-My Vaccine Order-Cancel Appointment Interface

interface program

1

wx_yimiao_dingdan_del.php

parameter

1

2

uid: 用户id,

yyid: 订单id

Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/45/2304.html

Guess you like

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