Based on Wechat Classroom Reservation Mini Program Graduation Design Finished Works (12) User Registration and Login 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 implement a classroom reservation system based on WeChat applets. Front-end users use applets, and background management uses PHP+MySql-based B/S architecture; through the background, classroom information is added, user information is managed, and management Appointment information; front-end users log in through the applet, view classroom information, and initiate an appointment.

Significance: The WeChat Mini Program Classroom Reservation System is the product of the combination of computer technology and classroom management. Through the WeChat Mini Program Classroom Reservation System, the efficient management of classroom use is realized. 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 skills, this WeChat small program classroom reservation system software is specially compiled to improve classroom management efficiency.
 

database

Member classification table: huiyuan_fenlei

field name

type

Remark

id

int

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

caidan_mingcheng

varchar

Member Category Name

paixu_id

int

Sort the numbers, the bigger numbers come first, empty is allowed

image.png

Membership form: huiyuan

field name

type

Remark

id

int

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

shouji

varchar

Mobile phone number: username

mima

varchar

password

in the hand

int

category id

Foreign key, id of member classification table: 1 student, 2 teacher

xingming

varchar

Name

qq

varchar

QQ number

email

varchar

Email

wx_openid

varchar

log in to WeChat's openid

wx_nicheng

varchar

WeChat nickname

wx_touxiang

varchar

Wechat avatar picture address

add_riqi

date

Write database date

add_shijian

datetime

write database time

beizhu

text

Remark

Backstage management

ht/huiyuan

member

hy_list.php

member list

applet interface

member

wx_check_login_yonghu.php

Ordinary user login

wx_check_reg_yonghu.php

Ordinary user registration

wx_check_reg_yonghu-weixin.php

WeChat login

Common user registration interface

interface address

1

http://localhost:500/wx_check_reg_yonghu.php

Parameters: all are required

1

2

yhm:用户名

mm:密码

error return

1

{"zt":"no","xinxi":"php输入不正确","uid":"0"}

correct

1

跳转到用户中心首页

Ordinary user login interface

interface address

1

http://localhost:500/wx_check_login_yonghu.php

Parameters: all are required

1

2

yhm:用户名

mm:密码

error return

1

{"zt":"no","xinxi":"输入不正确","uid":"0"}

correct

1

跳转到用户中心首页

WeChat login interface

interface address

1

http://localhost:500/wx_check_reg_yonghu-weixin.php

Parameters: all are required (obtained through the WeChat official interface)

1

2

3

wx_openid: 微信用户的openid,

wx_nicheng: 微信用户的昵称,

wx_touxiang: 微信用户的头像地址

error return

1

{"zt":"no","xinxi":"输入不正确","uid":"0"}

correct

1

弹出授权提示,授权后,跳转到用户中心首页,如下图

image.png

Reference source: https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/39/1485.html

Guess you like

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