Graduation project based on WeChat e-book novel reading applet (12) User registration and login interface

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 WeChat applet. Front-end users use the applet, and 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.

database

Membership table: huiyuan

Field name

type

Remark

id

int

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

shouji

varchar

Mobile phone number: Username

mima

varchar

password

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 time to database

beizhu

text

Remark

Backstage management

ht/huiyuan

member

hy_list.php

member list

hy_del.php

Member delete

Mini program 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

Ordinary 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 required (obtained through 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

参考来源:https://www.hzyaoyi.cn/pc_jiaocheng_tushu_index.php?/40/1508.html

Guess you like

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