介绍
基于spring boot 2.1.6、shiro、jwt、redis、swagger2、mybatis 、thymeleaf、layui 后台管理系统, 权限控制的方式为 RBAC。代码通熟易懂 、JWT(无状态token)过期自动刷新,数据全程 ajax 获取,封装 ajax 工具类、菜单无线层级展示,解决 layui.tree 树形组件,回显问题。数据交互都是以 JSON 格式交互。后台接口RESTful 风格,支持前后端分离,app公用一套接口。
软件架构
软件架构说明
- 核心框架:spring boot 2.1.6
- 持久层框架:mybatis
- 数据库连接池:alibaba druid
- 安全框架:apache shiro
- 无状态 JWT
- 缓存框架:redis(自定义 RedisTemplate 序列化)
- 日志框架:logback
- 接口文档:swagger 2.9.2
- 前端模板:thymeleaf+layui2x
部署
- 下载redis 启动redis
- 创建company_frame数据库
- 导入company_frame.sql
- 启动项目
- 接口文档访问 http://localhost:8080/swagger-ui.html#/
- 登录地址 http://localhost:8080/index/login
- 登录密码 都是 666666
![84ffeccc687dac90a547f403e1924eb9.png](https://img-blog.csdnimg.cn/img_convert/84ffeccc687dac90a547f403e1924eb9.png)
源码地址 github
还提供了配套视频讲解
手机扫码观看
![5773e5155d5235c42fecb58dcb0eccc5.png](https://img-blog.csdnimg.cn/img_convert/5773e5155d5235c42fecb58dcb0eccc5.png)
获取视频
![25a8f2697912feee266bfe9e823145ef.png](https://img-blog.csdnimg.cn/img_convert/25a8f2697912feee266bfe9e823145ef.png)
![d56c70a8f803292bf1af391c419395ed.png](https://img-blog.csdnimg.cn/img_convert/d56c70a8f803292bf1af391c419395ed.png)
![ca3109397ae80b190c58ada0edebab05.png](https://img-blog.csdnimg.cn/img_convert/ca3109397ae80b190c58ada0edebab05.png)
效果展示
![cbce51b63c7a92efd3d212c34fe024ac.png](https://img-blog.csdnimg.cn/img_convert/cbce51b63c7a92efd3d212c34fe024ac.png)
![5841b3142fa6abc08d553fdb22965c17.png](https://img-blog.csdnimg.cn/img_convert/5841b3142fa6abc08d553fdb22965c17.png)
![b605dd4cf1c01e1b75e73caeab730c27.png](https://img-blog.csdnimg.cn/img_convert/b605dd4cf1c01e1b75e73caeab730c27.png)
![aadfa1df8a7def9c5b7994d9be78e0d1.png](https://img-blog.csdnimg.cn/img_convert/aadfa1df8a7def9c5b7994d9be78e0d1.png)
![e374cf35b27a4db600cd7667a10b3759.png](https://img-blog.csdnimg.cn/img_convert/e374cf35b27a4db600cd7667a10b3759.png)
![bd5cbf755720a0bee657e74dd3077bc9.png](https://img-blog.csdnimg.cn/img_convert/bd5cbf755720a0bee657e74dd3077bc9.png)
![8fe287190a2846a8123b02e833b0298c.png](https://img-blog.csdnimg.cn/img_convert/8fe287190a2846a8123b02e833b0298c.png)
![0e048fd5b53009eefb9e118329429692.png](https://img-blog.csdnimg.cn/img_convert/0e048fd5b53009eefb9e118329429692.png)
![92469f58a6b3c2c89ed2e632cf87d883.png](https://img-blog.csdnimg.cn/img_convert/92469f58a6b3c2c89ed2e632cf87d883.png)
![d623868fe2acb5fa0287cdec54c88e19.png](https://img-blog.csdnimg.cn/img_convert/d623868fe2acb5fa0287cdec54c88e19.png)
![0284cf3f6f326762c669e4e1e5c74b02.png](https://img-blog.csdnimg.cn/img_convert/0284cf3f6f326762c669e4e1e5c74b02.png)