Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ hm Public

基于SpringBoot框架开发权限管理系统,作为项目中脚手架。技术栈:SpringBoot、SpringSecurity 、MyBatis、thymeleaf、Druid、Hutool工具包、PageHelper、Lombok、swagger2等。功能:角色管理,权限资源管理,菜单管理,用户管理,文件管理,系统监控,SQL文件生成,代码生成器等

Notifications You must be signed in to change notification settings

springbees/hm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

28 Commits

Repository files navigation

HM-权限管理系统

项目前言

HM项目专门为传统项目打造一个完整后台系统脚架,可以基于本项目快速开发你所需的项目,简单方便。

项目演示地址:

http://106.13.101.58:8080/login.html 默认帐号: admin 默认密码: 123456

(削除) 各位大佬,跪求一个statr,你们的start是我开源的动力,在此先谢谢你们的青睐了! (削除ここまで)

项目介绍

基于SpringBoot框架开发权限管理系统,作为项目中脚手架。技术栈:SpringBoot、SpringSecurity 、MyBatis、thymeleaf、Druid、Hutool工具包、PageHelper、Lombok、swagger2、zTree、TreeTable-Lay等。功能:角色管理,权限资源管理,菜单管理,用户管理,文件管理,系统监控,SQL文件生成,代码生成器等
Edit
### 项目演示:

后台登入页面:

后台首页:

列举功能1

菜单管理:

接口Swagger API文档

在线代码生成功能:

技术选型

后端技术

技术 说明 技术官网地址
SpringBoot Spring容器和webMVC框架 https://spring.io/projects/spring-boot
SpringSecurity 认证和授权框架 https://spring.io/projects/spring-security
MyBatis ORM框架 http://www.mybatis.org/mybatis-3/zh/index.html
MyBatisGenerator 数据层代码生成 http://www.mybatis.org/generator/index.html
PageHelper MyBatis物理分页插件 http://git.oschina.net/free/Mybatis_PageHelper
Swagger-UI 文档生产工具 https://github.com/swagger-api/swagger-ui
SLF4J 日志框架 http://www.slf4j.org/
Docker 应用容器引擎 https://www.docker.com
Druid 数据库连接池 https://github.com/alibaba/druid
Lombok 简化对象封装工具 https://github.com/rzwitserloot/lombok
thymeleaf 模版引擎 https://www.thymeleaf.org/
Hutool-all 通用工具包 https://hutool.cn/docs/

前端技术

技术 描述 技术官网地址
layui 前端框架 https://www.layui.com/
xadmin 前端UI http://x.xuebingsi.com/
zTree 菜单树插件 https://github.com/zTree/zTree_v3
Ajax 前端HTTP框架异步请求技术 https://api.jquery.com/category/ajax/
v-charts 基于Echarts的图表框架 https://v-charts.js.org/
TreeTable-Lay layui提供插件 https://www.layui.com/

项目导入环境

第一你可把数据库导入本地环境。(mysql5.7以上)

第二你如果会docker容器奇数,你可以在docker中安装一个mysql5.7以上镜像。(方便环境隔离)

第三将项目导入IDEA工具中,然后修改application.yml文件,根据自己所需修改指定环境的配置文件。

1. application.yml

spring:
 profiles:
 active: dev #指定配置文件
 devtools:
 restart:
 #需要实时更新的目录
 additional-paths: resources/**,static/**,templates/**
logging:
 path: D://hm-log.log
#配置公共api接口前缀
api-url: /api

2. application-dev.yml

spring:
 datasource:
 driver-class-name: com.mysql.cj.jdbc.Driver
 url: jdbc:mysql://localhost:3306/你的数据库名?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=UTC
 username: root
 password: 你的数据库密码
 platform: mysql
 type: com.alibaba.druid.pool.DruidDataSource
 initialSize: 1
 minIdle: 3
 maxActive: 20
 maxWait: 60000
 timeBetweenEvictionRunsMillis: 60000
 minEvictableIdleTimeMillis: 30000
 validationQuery: select 'x'
 testWhileIdle: true
 testOnBorrow: false
 testOnReturn: false
 poolPreparedStatements: true
 maxPoolPreparedStatementPerConnectionSize: 20
 # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
 filters: stat,wall,slf4j
 # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
 connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
mybatis:
 type-aliases-package: com.jacklinsir.hm.model
 mapper-locations: classpath:/mybatis-mappers/*
 configuration:
 mapUnderscoreToCamelCase: true

第四运行项目:

访问地址: http://localhost:8080/

完毕!

许可证

Apache License 2.0

Copyright (c) 2019-2020 jacklinSir

About

基于SpringBoot框架开发权限管理系统,作为项目中脚手架。技术栈:SpringBoot、SpringSecurity 、MyBatis、thymeleaf、Druid、Hutool工具包、PageHelper、Lombok、swagger2等。功能:角色管理,权限资源管理,菜单管理,用户管理,文件管理,系统监控,SQL文件生成,代码生成器等

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /