基于 Spring Cloud 、Spring Boot、 OAuth2 的 RBAC 企业快速开发平台

发布于:2025-02-10 ⋅ 阅读:(110) ⋅ 点赞:(0)

系统说明

  • 基于 Spring Cloud 、Spring Boot、 OAuth2 的 RBAC 企业快速开发平台, 同时支持微服务架构和单体架构
  • 提供对 Spring Authorization Server 生产级实践,支持多种安全授权模式
  • 提供对常见容器化方案支持 Kubernetes、Rancher2 、Kubesphere、EDAS、SAE 支持分支说明
  • jdk17: java17/21 + springboot 3.4 + springcloud 2024
  • master: java8 + springboot 2.7 + springcloud 2021

快速开始

Docker 快速体验
# 可用内存大于4G
curl -o docker-compose.yaml https://try.pig4cloud.com
# 等待5分钟
docker compose up
本地开发运行

请务必完全按照文档部署运行章节 进行操作,减少踩坑弯路!!

核心依赖

依赖 版本
Spring Boot 3.4.1
Spring Cloud 2024.0.0
Spring Cloud Alibaba 2023.0.3.2
Spring Authorization Server 1.4.1
Mybatis Plus 3.5.10
Vue 3.4
Element Plus 2.7

模块说明

pig-ui  -- https://gitee.com/log4j/pig-ui

pig
├── pig-boot -- 单体模式启动器[9999]
├── pig-auth -- 授权服务提供[3000]
└── pig-common -- 系统公共模块
     ├── pig-common-bom -- 全局依赖管理控制
     ├── pig-common-core -- 公共工具类核心包
     ├── pig-common-datasource -- 动态数据源包
     ├── pig-common-log -- 日志服务
     ├── pig-common-oss -- 文件上传工具类
     ├── pig-common-mybatis -- mybatis 扩展封装
     ├── pig-common-seata -- 分布式事务
     ├── pig-common-security -- 安全工具类
     ├── pig-common-swagger -- 接口文档
     ├── pig-common-feign -- feign 扩展封装
     └── pig-common-xss -- xss 安全封装
├── pig-register -- Nacos Server[8848]
├── pig-gateway -- Spring Cloud Gateway网关[9999]
└── pig-upms -- 通用用户权限管理模块
     └── pig-upms-api -- 通用用户权限管理系统公共api模块
     └── pig-upms-biz -- 通用用户权限管理系统业务处理模块[4000]
└── pig-visual
     └── pig-monitor -- 服务监控 [5001]
     ├── pig-codegen -- 图形化代码生成 [5002]
     └── pig-quartz -- 定时任务管理台 [5007]

免费公开课


网站公告

今日签到

点亮在社区的每一天
去签到