Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
0ad87240
Commit
0ad87240
authored
Jan 10, 2019
by
郑杰
Browse files
更新README.md,新增eladmin开发文档:
http://docs.auauz.ent
parent
90426bee
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0ad87240
# eladmin
项目基于 Spring Boot 2.1.0 、 Spring boot Jpa、 Spring Security、redis、Vue的前后端分离的权限管理系统, 权限控制采用 RBAC
思想,
支持动态路由
项目基于 Spring Boot 2.1.0 、 Spring boot Jpa、 Spring Security、redis、Vue的前后端分离的权限管理系统, 权限控制采用 RBAC
(Role-Based Access Control,基于角色的访问控制),前端菜单
支持动态路由
#### 前端源码
-
码云:
[
https://gitee.com/elunez/eladmin-qt
](
https://gitee.com/elunez/eladmin-qt
)
-
github:
[
https://github.com/elunez/eladmin-qd
](
https://github.com/elunez/eladmin-qd
)
#### 前端初始模板
基于PanJiaChen的:
[
https://github.com/PanJiaChen/vue-admin-template
](
https://github.com/PanJiaChen/vue-admin-template
)
#### 前端参考文档
[
https://panjiachen.github.io/vue-element-admin-site/zh/guide/
](
https://panjiachen.github.io/vue-element-admin-site/zh/guide/
)
#### eladmin开发文档
[
http://docs.auauz.net/#/
](
http://docs.auauz.net/#/
)
#### 预览地址
[
http://auauz.net
](
http://auauz.net
)
##### 用户账号
##### 用户账号
密码
-
管理员: admin
-
测试用户: test
##### 默认密码
-
密码: 123456
#### 开发环境
...
...
@@ -32,22 +26,56 @@
-
依赖管理:Maven
-
数据库:MySQL 5.5.59
#### 系统功能模块
-
用户管理 提供用户的相关配置
-
个人中心 提供修改头像,密码,邮箱验等功能
-
角色管理 角色菜单分配权限
-
权限管理 权限细化到接口
-
菜单管理 已实现动态路由,后端可配置化
-
系统日志 记录用户访问监控异常信息
-
实时控制台 显示logback实时日志,可显示异常堆栈信息
-
redis管理 将redis的操作可视化,提供对redis的基本操作
-
redis限流 对系统的流量进行控制,由
[
everhopingandwaiting
](
https://github.com/everhopingandwaiting
)
提供
-
SQL监控 采用 druid 监控数据库访问性能
-
定时任务管理 整合quartz做定时任务
-
三方工具: 邮件工具,sm.ms免费图床,支付宝支付,七牛云存储
-
富文本编辑器
#### 功能模块
```
- 系统管理
- 用户管理 提供用户的相关配置
- 角色管理 角色菜单进行权限的分配
- Swagger文档 localhost:8000/swagger-ui.html
- 权限管理 权限细化到接口
- 菜单管理 已实现菜单动态路由,后端可配置化,支持多级菜单
- 定时任务 整合Quartz做定时任务,加入任务日志,任务运行情况一目了然
- 系统监控
- 系统日志 使用apo记录用户操作日志,并且记录异常堆栈信息
- 系统缓存 使用jedis将缓存操作可视化,并提供对redis的基本操作,可根据需求自行扩展
- 实时控制台 实时打印logback日志,来自微强迫症患者的精心配色,更好的监控系统的运行状态
- SQL监控 采用druid 监控数据库访问性能,默认用户名admin,密码123456
- 三方工具
- 邮件工具 配合富文本,发送html格式的邮件
- SM.MS免费图床 挺好用的一个图床,作为公共图片上传使用
- 七牛云存储 这个就不多说了
- 支付宝支付 提供了测试账号,可自行测试
- 组件管理
- 图标库 系统图标来自 https://www.iconfont.cn/
- 富文本 集成wangEditor富文本
```
#### 项目结构
```
- common 公共包
- aop 记录日志与接口限流
- exception 项目异常处理
- mapper mapstruct的通用mapper
- redis redis缓存相关配置
- swagger2 接口文档配置
- utils 通用工具
- core 核心包
- config JWT的安全过滤器配置与跨域配置
- rest 用户授权的接口
- security 配置spring security
- service 用户登录与权限的处理
- utils 包含加密工具与JWT工具
- monitor 系统监控
- config 配置日志拦截器与WebSocket等
- domain 实体类
- repository 数据库操作
- rest 前端控制器
- service 业务接口
- impl 业务接口实现
- query 业务查询
- quartz 定时任务
- system 系统管理
- tools 第三方工具
```
#### 后端技术栈
-
基础框架:Spring Boot 2.1.0.RELEASE
...
...
@@ -90,6 +118,7 @@
#### 反馈交流
-
QQ交流群:
<a
target=
"_blank"
href=
"//shang.qq.com/wpa/qunwpa?idkey=90830191a40600e3a07acdcc4864890fca50c8e3ca1772e7e288a561d576f6c4"
><img
border=
"0"
src=
"//pub.idqqimg.com/wpa/images/group.png"
alt=
"Quella/el-admin"
title=
"Quella/el-admin"
></a>
-
作者邮箱:elunez@qq.com
src/main/java/me/zhengjie/tools/config/MultipartConfig.java
View file @
0ad87240
...
...
@@ -19,7 +19,7 @@ public class MultipartConfig {
@Bean
MultipartConfigElement
multipartConfigElement
()
{
MultipartConfigFactory
factory
=
new
MultipartConfigFactory
();
String
location
=
System
.
getProperty
(
"user.dir"
)
+
"
/data
/tmp"
;
String
location
=
System
.
getProperty
(
"user.dir"
)
+
"
target/file
/tmp"
;
File
tmpFile
=
new
File
(
location
);
if
(!
tmpFile
.
exists
())
{
tmpFile
.
mkdirs
();
...
...
src/main/resources/application.yml
View file @
0ad87240
...
...
@@ -48,11 +48,12 @@ spring:
hibernate
:
dialect
:
org.hibernate.dialect.MySQL5InnoDBDialect
hibernate
:
ddl-auto
:
update
naming
:
physical-strategy
:
org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
open-in-view
:
true
application.yml:51
jackson
:
time-zone
:
GMT+8
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment