简介
基于 springmvc、spring、mybatis-plus、shiro、easyui、Log4j2 简单实用的权限系统。
界面基于 EasyUI,图标采用较为开放的 Foundation Icon(MIT协议)。
WIKI vs 文档:http://git.oschina.net/wangzhixuan/spring-shiro-training/wikis/Home
文档 vs 思维导图:https://my.oschina.net/u/3080373/blog/875697
代码生成详见:src/test/java/com/wangzhixuan/generator/MysqlGenerator
官网:https://www.dreamlu.net/
技术
- Spring-cache
- Spring-data-redis
- Spring-Task
- Shiro
- Spring-cache-shiro
- hibernate-validator
- maven profile 多环境配置
功能
- 权限管理
- 角色管理
- 用户管理
- 部门管理
- 登陆日志
- 图标管理
运行环境
jdk7 + tomcat7 或以上!
采用 maven profile 配置线下 dev 和线上 production 环境,默认读取 src\\main\\conf\\dev 开发环境下的配置文件。
线上环境使用 mvnrun、打包时添加-Pproduction 变量则会使用 src/main/conf/production 目录下的配置文件。
线上 production 请注意添加一份 cofing/application.properties 配置文件(由于开源,使用 .gitignore 进行了屏蔽)。
效果图
账号:admin、test,密码:test
项目地址
https://gitee.com/wangzhixuan/spring-shiro-training
閱讀更多 struggledhard 的文章