Project introduction
- A lightweight permission management system based on StringBoot2.2+Layui+Mybatis+Mybatis-Plus, out of the box.
- Code generators are provided to quickly complete development tasks
- Perfect XSS defense and script filtering, completely eliminate XSS attacks
- Supports mainstream databases such as MySQL, Oracle, and SQL Server
Technology selection
- Core framework: Spring Boot 2.2.5
- Security framework: Spring Security 5.2.2
- View framework: Spring MVC 5.2.4
- Persistence layer framework: MyBatis 2.1.2 MyBatis-Plus 3.3.2
- Druid 1.1.20 database connection pool
- Cache framework: Redis 2.2.5
- Log management: SLF4J 2.12.1, Logback 1.2.3
- Template engine: Thymeleaf 3.0.11
- Page interaction: Layui 2.5.6
Other frameworks
- Crawler framework: WebMagic
The software requirements
- JDK 1.8
- MySQL 8.0 +
- Maven 3.5 +
The built-in function
- Login: Login entry and verification code login
- Registration: user registration entry, SMS verification code registration
- User management: Users are system operators. This function is used to configure system users.
- Menu management: configure system menu, operation permission, button permission identification, etc.
- Role management: Role menu permission assignment and role setting Data scope permission division by organization.
- System Settings: Configure parameters such as the mail system and ali Cloud OSS storage.
- File system: Manages uploaded attachment information and ali Cloud OSS storage data.
- Mail system: send simple and complex mail, including: attachments, rich text editor, outbox management.
- Operation logs: Record and query system operation logs. Record and query system exception information.
- Login log: System login log query contains login exceptions.
- Code generation: The generation of front-end and back-end code (Java, HTML, XML, SQL) supports CRUD download.
- System interface: Automatically generate relevant API interface documents according to the business code.
- Service monitoring: Set scheduled tasks and monitor the current system CPU, memory, disk, and stack information.
- Connection pool monitoring: Monitors the current system database connection pool status and analyzes SQL to find system performance bottlenecks.
- Icon font: View system, Layui, awesome ICONS and how to use them.
Local deployment
- Download the source code through Gitee
- Lombok plugin is required for Idea and Eclipse. Otherwise, the entity get set method will be displayed
- Create database cherry, database character set utF8MB4 — UTF-8 Unicode
- SQL/db/Cherry. SQL
- Modify application. Yml file, update MySQL account and password, and update Redis and Aliyunkeyid….
- Eclipse, IDEA run cherryApplication. Java to start the project
- Cherry Lemonade Access: [http://localhost:9001]