2 Star 2 Fork 0

Mark.Han/clownmask

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

English | 简体中文

clownmask

clownmask

clownmask

GitHub license springboot-2.1.3.RELEASE adminlte-2.4.0 mybatisplus-3.0.7.1

简单友好的快速开发框架

项目说明

截图

clownmask clownmask clownmask clownmask

特点

  • 灵活的权限控制,可控制到页面或按钮,满足绝大部分的权限需求
  • 完善的部门管理及数据权限,通过注解实现数据权限的控制
  • 完善的XSS防范及脚本过滤,彻底杜绝XSS攻击
  • 友好的代码结构及注释,便于阅读及二次开发
  • 引入quartz定时任务,可动态完成任务的添加、修改、删除、暂停、恢复及日志查看等功能
  • 页面交互使用Vue2.x,极大的提高了开发效率
  • 引入swagger文档支持,方便编写API接口文档
  • 支持多语言

数据权限设计思想

  • 管理员管理、角色管理、部门管理,可操作本部门及子部门数据
  • 菜单管理、定时任务、参数管理、字典管理、系统日志,没有数据权限
  • 业务功能,按照用户数据权限,查询、操作数据【没有本部门数据权限,也能查询本人数据】
  • 如果需要增加数据权限,需要在表字段和类属性上面增加部门字段(dept_id),然后再方法上面加DataFilter注解

项目结构

clownmask
|
├─clownmask-common     公共模块(代码生成)

├─clownmask-admin      管理后台
│    ├─db  数据库SQL脚本
│    │ 
│    ├─modules  模块
│    │    ├─job 定时任务
│    │    ├─oss 文件存储
│    │    └─sys 系统管理(核心)
│    │ 
│    └─resources 
│        ├─mapper   MyBatis文件
│        ├─statics  静态资源
│        ├─template 系统页面
│        │    ├─modules      模块页面
│        │    ├─index.html   主页
│        └─application.yml   全局配置文件

├─clownmask-api        API服务

├─clownmask-dynamic-datasource  动态数据库

技术选型

  • 核心框架:Spring Boot 2.1.3
  • 安全框架:Apache Shiro 1.4
  • 持久层框架:MyBatis 3.5
  • 定时器:Quartz 2.3
  • 数据库连接池:Druid 1.1
  • 日志管理:SLF4J 1.7、Log4j
  • 页面交互:Vue2.x

软件需求

  • JDK1.8
  • MySQL5.5+
  • Maven3.0+

运行

git clone https://github.com/Mr-han/clownmask.git

  • 修改 application.yml 中的数据库链接

  • 后台管理 运行 clownmask-admin 中的 AdminApplication

  • 访问 :http://localhost:8082/admin/login.html. 登陆名/密码:admin/admin

License

MIT

MIT License Copyright (c) 2020 Mark.Han Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

clownmask: a rapid development framework 展开 收起
Java 等 5 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/Mr_hanx/clownmask.git
git@gitee.com:Mr_hanx/clownmask.git
Mr_hanx
clownmask
clownmask
master

搜索帮助

A270a887 8829481 3d7a4017 8829481