{"id":13458738,"url":"https://github.com/pig-mesh/pig","last_synced_at":"2025-05-14T21:02:01.645Z","repository":{"id":37258165,"uuid":"204388092","full_name":"pig-mesh/pig","owner":"pig-mesh","description":"↥ ↥ ↥ 点击关注更新，基于 Spring Cloud 2024 、Spring Boot 3.4、 OAuth2 的 RBAC 权限管理系统","archived":false,"fork":false,"pushed_at":"2025-04-25T06:44:48.000Z","size":39006,"stargazers_count":6260,"open_issues_count":288,"forks_count":996,"subscribers_count":94,"default_branch":"jdk17","last_synced_at":"2025-05-07T20:28:59.783Z","etag":null,"topics":["docker","oauth2","openai","rbac-management","sa-token","spring-ai","spring-authorization-server","spring-boot","spring-cloud","spring-cloud-alibaba","spring-security","vue3"],"latest_commit_sha":null,"homepage":"https://wiki.pig4cloud.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pig-mesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-08-26T03:24:53.000Z","updated_at":"2025-05-07T11:05:48.000Z","dependencies_parsed_at":"2022-07-14T07:00:32.454Z","dependency_job_id":"3d4b961b-3f62-430d-a01b-ea575540db9a","html_url":"https://github.com/pig-mesh/pig","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pig-mesh%2Fpig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pig-mesh","download_url":"https://codeload.github.com/pig-mesh/pig/tar.gz/refs/heads/jdk17","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227603,"owners_count":22035667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","oauth2","openai","rbac-management","sa-token","spring-ai","spring-authorization-server","spring-boot","spring-cloud","spring-cloud-alibaba","spring-security","vue3"],"created_at":"2024-07-31T09:00:56.318Z","updated_at":"2025-05-14T21:02:01.522Z","avatar_url":"https://github.com/pig-mesh.png","language":"Java","funding_links":[],"categories":["Java","后端开发框架及项目"],"sub_categories":["JAVA开发"],"readme":"\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/Pig-3.8-success.svg\" alt=\"Build Status\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/Spring%20Cloud-2024-blue.svg\" alt=\"Coverage Status\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/Spring%20Boot-3.4-blue.svg\" alt=\"Downloads\"\u003e\n \u003cimg src=\"https://img.shields.io/badge/Vue-3.4-blue.svg\" alt=\"Downloads\"\u003e\n \u003cimg src=\"https://img.shields.io/github/license/pig-mesh/pig\"/\u003e\n\u003c/p\u003e\n\n## 系统说明\n\n- 基于 Spring Cloud 、Spring Boot、 OAuth2 的 RBAC **企业快速开发平台**， 同时支持微服务架构和单体架构\n- 提供对 Spring Authorization Server 生产级实践，支持多种安全授权模式\n- 提供对常见容器化方案支持 Kubernetes、Rancher2 、Kubesphere、EDAS、SAE 支持\n\n#### 使用文档\n\nPIG 提供了详尽的部署文档 👉 [wiki.pig4cloud.com](https://wiki.pig4cloud.com)，涵盖开发环境配置、服务端启动、前端运行等关键步骤。\n\n重要的事情说三遍：\n\n- 🔥 [ 配套文档 wiki.pig4cloud.com](https://wiki.pig4cloud.com)\n- 🔥 [ 配套文档 wiki.pig4cloud.com](https://wiki.pig4cloud.com)\n- 🔥 [ 配套文档 wiki.pig4cloud.com](https://wiki.pig4cloud.com)\n\n#### 其他产品\n\n- 👉🏻 [PIGX 在线体验](http://home.pig4cloud.com:38081)\n\n- 👉🏻 [自研BPMN工作流引擎](http://home.pig4cloud.com:38082)\n\n- 👉🏻 [大模型 RAG 知识库](http://home.pig4cloud.com:38083)\n\n## 微信群 [禁广告]\n\n\u003cimg src='https://minio.pigx.vip/oss/202412/1735262426.png' alt='1735262426'/\u003e\n\n## 快速开始\n\n#### Docker 快速体验\n\n```shell\n# 可用内存大于4G\ncurl -o docker-compose.yaml https://try.pig4cloud.com\n# 等待5分钟\ndocker compose up\n```\n\n### 核心依赖\n\n| 依赖                          | 版本         |\n|-----------------------------|------------|\n| Spring Boot                 | 3.4.5      |\n| Spring Cloud                | 2024.0.1   |\n| Spring Cloud Alibaba        | 2023.0.3.2 |\n| Spring Authorization Server | 1.4.3      |\n| Mybatis Plus                | 3.5.11     |\n| Vue                         | 3.4        |\n| Element Plus                | 2.7        |\n\n### 模块说明\n\n```lua\npig-ui  -- https://gitee.com/log4j/pig-ui\n\npig\n├── pig-boot -- 单体模式启动器[9999]\n├── pig-auth -- 授权服务提供[3000]\n└── pig-common -- 系统公共模块\n     ├── pig-common-bom -- 全局依赖管理控制\n     ├── pig-common-core -- 公共工具类核心包\n     ├── pig-common-datasource -- 动态数据源包\n     ├── pig-common-log -- 日志服务\n     ├── pig-common-oss -- 文件上传工具类\n     ├── pig-common-mybatis -- mybatis 扩展封装\n     ├── pig-common-seata -- 分布式事务\n     ├── pig-common-security -- 安全工具类\n     ├── pig-common-swagger -- 接口文档\n     ├── pig-common-feign -- feign 扩展封装\n     └── pig-common-xss -- xss 安全封装\n├── pig-register -- Nacos Server[8848]\n├── pig-gateway -- Spring Cloud Gateway网关[9999]\n└── pig-upms -- 通用用户权限管理模块\n     └── pig-upms-api -- 通用用户权限管理系统公共api模块\n     └── pig-upms-biz -- 通用用户权限管理系统业务处理模块[4000]\n└── pig-visual\n     └── pig-monitor -- 服务监控 [5001]\n     ├── pig-codegen -- 图形化代码生成 [5002]\n     └── pig-quartz -- 定时任务管理台 [5007]\n```\n\n## 免费公开课\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.bilibili.com/video/av45084065\" target=\"_blank\"\u003e\u003cimg src=\"https://foruda.gitee.com/images/1731647304254897555/88a9c2fa_441246.jpeg\"\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.bilibili.com/video/av77344954\" target=\"_blank\"\u003e\u003cimg src=\"https://foruda.gitee.com/images/1731647324953921510/39689640_441246.jpeg\"\u003e\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n    \u003ctr\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.bilibili.com/video/BV1J5411476V\" target=\"_blank\"\u003e\u003cimg src=\"https://foruda.gitee.com/images/1731647357502030768/7f31f392_441246.jpeg\"\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.bilibili.com/video/BV14p4y197K5\" target=\"_blank\"\u003e\u003cimg src=\"https://foruda.gitee.com/images/1731647375444479120/2b8fd494_441246.jpeg\"\u003e\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## 开源共建\n\n### 开源协议\n\npig 开源软件遵循 [Apache 2.0 协议](https://www.apache.org/licenses/LICENSE-2.0.html)。\n允许商业使用，但务必保留类作者、Copyright 信息。\n\n![](https://foruda.gitee.com/images/1731647419204307063/91217172_441246.jpeg)\n\n### 其他说明\n\n1. 欢迎提交 [PR](https://dwz.cn/2KURd5Vf)，注意对应提交对应 `dev` 分支\n   代码规范 [spring-javaformat](https://github.com/spring-io/spring-javaformat)\n\n   \u003cdetails\u003e\n    \u003csummary\u003e代码规范说明\u003c/summary\u003e\n\n    1. 由于 \u003ca href=\"https://github.com/spring-io/spring-javaformat\" target=\"_blank\"\u003espring-javaformat\u003c/a\u003e\n       强制所有代码按照指定格式排版，未按此要求提交的代码将不能通过合并（打包）\n    2. 如果使用 IntelliJ IDEA\n       开发，请安装自动格式化软件 \u003ca href=\"https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-intellij-idea-plugin/\" target=\"_blank\"\u003e\n       spring-javaformat-intellij-idea-plugin\u003c/a\u003e\n    3. 其他开发工具，请参考 \u003ca href=\"https://github.com/spring-io/spring-javaformat\" target=\"_blank\"\u003e\n       spring-javaformat\u003c/a\u003e\n       说明，或`提交代码前`在项目根目录运行下列命令（需要开发者电脑支持`mvn`命令）进行代码格式化\n       ```\n       mvn spring-javaformat:apply\n       ```\n   \u003c/details\u003e\n\n2. 欢迎提交 [issue](https://gitee.com/log4j/pig/issues)，请写清楚遇到问题的原因、开发环境、复显步骤。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpig-mesh%2Fpig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpig-mesh%2Fpig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpig-mesh%2Fpig/lists"}