Actual platform registration function

1. Registration function process

| Front-end system|
Enter user name and password;
carry user name and password to request back-end system;
| Back-end system|
Query whether the user information is correct;
If: user does not exist, write user information to the database, and return registration success information;
| Front-end system|
Display the successful registration information and jump to the login page;

| Back-end system|
If the user exists or other errors; return the error code corresponding to the scene;
| Front-end system|
Display error information;

2. Front-end implementation

1. Create a RegisterView.vue file

<!-- Login

Guess you like

Origin blog.csdn.net/YZL40514131/article/details/131042443