Spring Boot end-of-term project user management system

1. Project basis

1.1 New project

1.1.1 Open IDEA, click New Project, and select Maven.

1.1.2 After selecting Maven, enter the project name, and click Finish to complete the project creation.

1.2 Placement IDEA

1.2.1 File->Setting->Build->Compiler to complete automatic compilation.

1.2.2 File->Setting->Build->Build Tools->Maven Select Maven configuration.

1.2.3 File->Setting->Editor->File Encodings Change the character encoding.

2. Business logic

1.1 Login page

1.1.1 The user requests parameters through POST, enters the user name and password and sends the parameters to the background in the form of form data in the HTTP request body, then the background obtains the parameter values ​​in the POST request URL, and finally completes the jump through the redirect method.

1.1.2 If the user name and password are wrong, the login page will be redirected and a corresponding prompt will be given.

1.2 Dashboard

1.2.1 After the user successfully logs in with the username and password, the dashboard page is entered by default.

1.3 User Management

1.3.1 Click User Management to query all user information, receive user requests through the Controller layer, call the method in the Service to process the request, and the Service layer provides the processing of business logic and the method of calling Mapper for database operations, so as to realize the user Management additions, deletions, modifications and inquiries.

1.3.2 Click New User and enter the corresponding user information to add users.

1.3.3 Query users by user name, mobile phone number, start and end time and role.

1.3.4 According to the user's needs, you can choose to change the user information, and click Save to complete the information modification.

1.3.5 For infrequently used users, you can click to delete or disable.

1.4 Role Management

1.4.1 Click Role Management to query all role information, receive user requests through the Controller layer, call the method in the Service to process the request, and the Service layer provides methods for processing business logic and calling Mapper for database operations, so as to realize the role Add, delete, and modify operations for management.

1.4.2 Click New Role and enter the corresponding role information to add users.

1.4.3 According to user needs, you can choose to change the role information, and click Save to complete the information modification.

1.4.4 For infrequently used roles, you can click Delete or Disable.

1.5 Exit

1.5.1 After the user completes the operations he needs, he can click the icon in the upper right corner and select User Logout to log out the user.

Note: Due to the large amount of source code, friends who need it can download it in the resources, or you can private message me to get it! 

Guess you like

Origin blog.csdn.net/qq_64314976/article/details/131594346