Guns is based on SpringBoot2 and is committed to a simpler background management system. It includes system management, code generation, multi-database adaptation, SSO single sign-on, workflow, SMS, email sending, OAuth2 login, task scheduling, continuous integration, docker deployment and other functions. Support SpringCloudAlibaba microservices. The community is active, version iteration is fast, and free technical support is provided by joining the group.
Features of Guns background management system 1. Based on SpringBoot, a large number of project configurations and maven dependencies are simplified, allowing you to focus more on business development. The unique subcontracting method ensures large amounts of code without clutter.
2. A complete logging system that can record login logs, business operation logs (can record data before and after operations), and exception logs to the database. Through the @BussinessLog annotation and LogObjectHolder.me().set() method, business The operation log can specifically record which user, which business has been executed, which data has been modified, and the log record is executed asynchronously. For details, please see the @BussinessLog annotation and the LogObjectHolder, LogManager, and LogAop classes.
3. Use the beetl template engine to encapsulate and split the front-end page, making the bloated HTML code concise and easier to maintain.
4. Secondary encapsulation of commonly used js plug-ins to make the js code concise and easier to maintain.
5. The controller layer uses the map+warpper method to return results and return more flexible data to the front end. For details, see the specific classes in the com.stylefeng.guns.modular.system.warpper package.
6. To prevent XSS attacks, filter and replace all input illegal strings through the XssFilter class.
7. A simple and usable code generation system. SimpleTemplateEngine can generate general controllers with homepage jumps, additions, deletions, modifications, and queries, html pages, and related js. It can also generate Service and Dao, and these generated items are optional. , through a series of xxxSwitch switches under ContextConfig, the generated template code can be flexibly controlled, allowing you to focus on real business.
8. A unified exception interception mechanism at the controller layer, using @ControllerAdvice to uniformly intercept exceptions. For details, see the com.stylefeng.guns.core.aop.GlobalExceptionHandler class.
9. The unified jskey-value singleton mode writing method for the page generates a unique global variable for each page, which improves the utilization efficiency of js, and effectively prevents function name/class name conflicts caused by multiple personnel development, and can better To maintain the code.
10. Online system parameter configuration can flexibly control the switches of commonly used functions. It can take effect without restarting the project and refresh in real time.
Online test account password: admin/111111
Guns background management system v7.0 update logThe latest Guns 7.0 has been fully upgraded, with overall modular reconstruction, richer functions and refined
Screenshot of Guns backend management system