# springboot-manager **Repository Path**: E_wsq/springboot-manager ## Basic Information - **Project Name**: springboot-manager - **Description**: 基于SpringBoot + Thymeleaf + Layui + Apache Shiro + Redis + Mybatis Plus 的后台管理系统 提供代码生成器,基本增删改查无需编写,可快速完成开发任务。 后台接口RESTful 风格,支持前后端分离,可与app公用一套接口。 开发最精简,可当脚手架,适合你来diy - **Primary Language**: Java - **License**: AFL-3.0 - **Default Branch**: master - **Homepage**: http://manager.aitangbao.com.cn - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 556 - **Created**: 2020-04-20 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-manager ## 介绍 基于SpringBoot + Thymeleaf + Layui + Apache Shiro + Redis + Mybatis Plus 的后台管理系统 提供代码生成器,基本增删改查无需编写,可快速完成开发任务。 后台接口RESTful 风格,支持前后端分离,可与app公用一套接口。 开发最精简,可当脚手架,适合你来diy ## 特征 - 后台接口RESTful 风格,支持前后端分离,可与app公用一套接口 - 采用RBAC的权限控制 - 统一响应结果封装及生成工具 - 统一异常处理 - Shiro + Redis 实现 Token 角色权限认证 - 使用Druid Spring Boot Starter 集成Druid数据库连接池与监控 - 集成MyBatis-Plus,实现单表业务零SQL - 支持多数据源,自由切换,只需方法或类上用 @DS 切换数据源 - 集成国人风格的knife4j,自动生成接口文档 - 提供代码生成器,生成从Html到Mapper,爽歪歪 ## 代码仓库 Gitee地址:[https://gitee.com/zwens/springboot-manager](https://gitee.com/zwens/springboot-manager) GitHub地址:[https://github.com/aitangbao/springboot-manager](https://github.com/aitangbao/springboot-manager) ## 项目演示 - 演示地址:[http://manager.aitangbao.com.cn](http://manager.aitangbao.com.cn/login) - 账号密码:guest/123456 - 带宽1m 不太给力 请见谅 :joy: ## 技术 * 核心框架:spring boot 2.1.6 * 持久层框架:mybatis plus * 数据库连接池:alibaba druid * 安全框架:apache shiro * 缓存框架:redis * 日志框架:logback * 接口文档:Knife4j * 前端模板:thymeleaf+layui2x ## 开发建议 - Model内成员变量建议与表字段数量对应,如需扩展成员变量(比如连表查询)建议创建VO,否则需在扩展的成员变量上加@TableField(exist = false) - 如果表有是否删除字段,需要在Model注解@TableLogic 默认1未删 0删除, 或@TableLogic(value="逻辑未删除值",delval="逻辑删除值") - 代码生成使用: 1、点击[代码生成]菜单,生成一个或多个表的代码压缩包,下载到本地 2、解压下载的代码,直接复制main文件夹到本地项目的src目录下 3、执行sql脚本,生成菜单 4、修改角色所绑定的菜单的权限,刷新页面查看即可 ## 参与贡献 1. Fork 本项目 2. 新建 feature_xxx 分支 3. 提交代码 4. 提交 Pull Request ## **效果图** ![image-20200319081918950](http://tuchuang.aitangbao.com.cn/image-20200319081918950.png) ![image-20200414165329818](http://tuchuang.aitangbao.com.cn/20200414165331.png) ![image-20200414165448976](http://tuchuang.aitangbao.com.cn/20200414165450.png) ![image-20200415164006374](http://tuchuang.aitangbao.com.cn/20200415164013.png) ![image-20200414165517607](http://tuchuang.aitangbao.com.cn/20200414165520.png) ![image-20200318173110441](http://tuchuang.aitangbao.com.cn/image-20200318173110441.png) ### 交流群