1
1
<p align =" center " >
2
- <img src =" https://img.shields.io/badge/Pig-3.6-success.svg " alt =" Build Status " >
3
- <img src =" https://img.shields.io/badge/Spring%20Cloud-2021-blue.svg " alt =" Coverage Status " >
4
- <img src =" https://img.shields.io/badge/Spring%20Boot-2.7-blue.svg " alt =" Downloads " >
5
- <img src =" https://img.shields.io/badge/Vue-3.2-blue.svg " alt =" Downloads " >
6
- <img src =" https://img.shields.io/github/license/pig-mesh/pig " />
2
+ <img src =" https://img.shields.io/badge/Pig-3.6-success.svg " alt =" Build Status " >
3
+ <img src =" https://img.shields.io/badge/Spring%20Cloud-2021-blue.svg " alt =" Coverage Status " >
4
+ <img src =" https://img.shields.io/badge/Spring%20Boot-2.7-blue.svg " alt =" Downloads " >
5
+ <img src =" https://img.shields.io/badge/Vue-3.2-blue.svg " alt =" Downloads " >
6
+ <img src =" https://img.shields.io/github/license/pig-mesh/pig " />
7
7
</p >
8
8
9
9
## 系统说明
30
30
31
31
![ ] ( https://minio.pigx.vip/oss/1648184189.png )
32
32
33
- <a href =" https://apifox.cn/a1pigcloud " target =" _blank " ><img src =" https://minio.pigx.vip/oss/1662368326.png " height =" 83% " width =" 83% " ></a ></td >
34
-
35
33
## 快速开始
36
34
35
+ ### 分支说明
36
+
37
+ - master: java8 + springboot 2.7 + springcloud 2021
38
+ - jdk17: java17 + springboot 3.0 + springcloud 2022
39
+
40
+ | 分支 | 说明 |
41
+ | -----------------| ------------------------------------------------------------------|
42
+ | master | java8 + springboot 2.7 + springcloud 2021 |
43
+ | sca-springboot3 | java17 + springboot 3.0 + springcloud 2022 |
44
+ | sct-springboot3 | java17 + springboot 3.0 + springcloud 2022 |
45
+
46
+
37
47
### 核心依赖
38
48
39
49
| 依赖 | 版本 |
40
50
| ---------------------- | ------------|
41
- | Spring Boot | 2.7.5 |
42
- | Spring Cloud | 2021.0.5 |
43
- | Spring Cloud Alibaba | 2021.0.4.0 |
44
- | Spring Authorization Server | 0.3.1 |
45
- | Mybatis Plus | 3.5.2 |
46
- | hutool | 5.8.9 |
47
- | Avue | 3.1.3 |
51
+ | Spring Boot | 2.7.10 |
52
+ | Spring Cloud | 2021.0.6 |
53
+ | Spring Cloud Alibaba | 2021.0.5.0 |
54
+ | Spring Authorization Server | 0.4.1 |
55
+ | Mybatis Plus | 3.5.3.1 |
56
+ | hutool | 5.8.15 |
48
57
49
58
### 模块说明
50
59
@@ -54,27 +63,27 @@ pig-ui -- https://gitee.com/log4j/pig-ui
54
63
pig
55
64
├── pig - auth -- 授权服务提供[3000]
56
65
└── pig - common -- 系统公共模块
57
- ├── pig - common - bom -- 全局依赖管理控制
58
- ├── pig - common - core -- 公共工具类核心包
59
- ├── pig - common - datasource -- 动态数据源包
60
- ├── pig - common - job -- xxl-job 封装
61
- ├── pig - common - log -- 日志服务
62
- ├── pig - common - mybatis -- mybatis 扩展封装
63
- ├── pig - common - seata -- 分布式事务
64
- ├── pig - common - security -- 安全工具类
65
- ├── pig - common - swagger -- 接口文档
66
- ├── pig - common - feign -- feign 扩展封装
67
- └── pig - common - xss -- xss 安全封装
66
+ ├── pig - common - bom -- 全局依赖管理控制
67
+ ├── pig - common - core -- 公共工具类核心包
68
+ ├── pig - common - datasource -- 动态数据源包
69
+ ├── pig - common - job -- xxl-job 封装
70
+ ├── pig - common - log -- 日志服务
71
+ ├── pig - common - mybatis -- mybatis 扩展封装
72
+ ├── pig - common - seata -- 分布式事务
73
+ ├── pig - common - security -- 安全工具类
74
+ ├── pig - common - swagger -- 接口文档
75
+ ├── pig - common - feign -- feign 扩展封装
76
+ └── pig - common - xss -- xss 安全封装
68
77
├── pig - register -- Nacos Server[8848]
69
78
├── pig - gateway -- Spring Cloud Gateway网关[9999]
70
79
└── pig - upms -- 通用用户权限管理模块
71
- └── pig - upms - api -- 通用用户权限管理系统公共api模块
72
- └── pig - upms - biz -- 通用用户权限管理系统业务处理模块[4000]
80
+ └── pig - upms - api -- 通用用户权限管理系统公共api模块
81
+ └── pig - upms - biz -- 通用用户权限管理系统业务处理模块[4000]
73
82
└── pig - visual
74
- └── pig - monitor -- 服务监控 [5001]
75
- ├── pig - codegen -- 图形化代码生成 [5002]
76
- ├── pig - sentinel - dashboard -- 流量高可用 [5003]
77
- └── pig - xxl - job - admin -- 分布式定时任务管理台 [5004]
83
+ └── pig - monitor -- 服务监控 [5001]
84
+ ├── pig - codegen -- 图形化代码生成 [5002]
85
+ ├── pig - sentinel - dashboard -- 流量高可用 [5003]
86
+ └── pig - xxl - job - admin -- 分布式定时任务管理台 [5004]
78
87
```
79
88
80
89
### 本地开发 运行
@@ -109,14 +118,14 @@ cnpm install && cnpm run build:docker && cd docker && docker-compose up -d
109
118
## 免费公开课
110
119
111
120
<table >
112
- <tr >
113
- <td ><a href =" https://www.bilibili.com/video/av45084065 " target =" _blank " ><img src =" https://minio.pigx.vip/oss/1655474345.jpg " ></a ></td >
114
- <td ><a href =" https://www.bilibili.com/video/av77344954 " target =" _blank " ><img src =" https://minio.pigx.vip/oss/1656837143.jpg " ></a ></td >
115
- </tr >
116
- <tr >
117
- <td ><a href =" https://www.bilibili.com/video/BV1J5411476V " target =" _blank " ><img src =" https://minio.pigx.vip/oss/1655474369.jpg " ></a ></td >
118
- <td ><a href =" https://www.bilibili.com/video/BV14p4y197K5 " target =" _blank " ><img src =" https://minio.pigx.vip/oss/1655474381.jpg " ></a ></td >
119
- </tr >
121
+ <tr >
122
+ <td><a href="https://www.bilibili.com/video/av45084065" target="_blank"><img src="https://minio.pigx.vip/oss/1655474345.jpg"></a></td>
123
+ <td><a href="https://www.bilibili.com/video/av77344954" target="_blank"><img src="https://minio.pigx.vip/oss/1656837143.jpg"></a></td>
124
+ </tr >
125
+ <tr>
126
+ <td><a href="https://www.bilibili.com/video/BV1J5411476V" target="_blank"><img src="https://minio.pigx.vip/oss/1655474369.jpg"></a></td>
127
+ <td><a href="https://www.bilibili.com/video/BV14p4y197K5" target="_blank"><img src="https://minio.pigx.vip/oss/1655474381.jpg"></a></td>
128
+ </tr >
120
129
</table >
121
130
122
131
## 开源共建
@@ -132,22 +141,22 @@ pig 开源软件遵循 [Apache 2.0 协议](https://www.apache.org/licenses/LICEN
132
141
### 其他说明
133
142
134
143
1 . 欢迎提交 [ PR] ( https://dwz.cn/2KURd5Vf ) ,注意对应提交对应 ` dev ` 分支
135
- 代码规范 [ spring-javaformat] ( https://github.com/spring-io/spring-javaformat )
136
-
137
- <details >
138
- <summary >代码规范说明</summary >
139
-
140
- 1 . 由于 <a href =" https://github.com/spring-io/spring-javaformat " target =" _blank " >spring-javaformat</a >
141
- 强制所有代码按照指定格式排版,未按此要求提交的代码将不能通过合并(打包)
142
- 2 . 如果使用 IntelliJ IDEA
143
- 开发,请安装自动格式化软件 <a href =" https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-intellij-idea-plugin/ " target =" _blank " >
144
- spring-javaformat-intellij-idea-plugin</a >
145
- 3 . 其他开发工具,请参考 <a href =" https://github.com/spring-io/spring-javaformat " target =" _blank " >spring-javaformat</a >
146
- 说明,或` 提交代码前 ` 在项目根目录运行下列命令(需要开发者电脑支持` mvn ` 命令)进行代码格式化
147
- ```
148
- mvn spring-javaformat:apply
149
- ```
150
- </details >
144
+ 代码规范 [ spring-javaformat] ( https://github.com/spring-io/spring-javaformat )
145
+
146
+ <details >
147
+ <summary >代码规范说明</summary >
148
+
149
+ 1 . 由于 <a href =" https://github.com/spring-io/spring-javaformat " target =" _blank " >spring-javaformat</a >
150
+ 强制所有代码按照指定格式排版,未按此要求提交的代码将不能通过合并(打包)
151
+ 2 . 如果使用 IntelliJ IDEA
152
+ 开发,请安装自动格式化软件 <a href =" https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-intellij-idea-plugin/ " target =" _blank " >
153
+ spring-javaformat-intellij-idea-plugin</a >
154
+ 3 . 其他开发工具,请参考 <a href =" https://github.com/spring-io/spring-javaformat " target =" _blank " >spring-javaformat</a >
155
+ 说明,或` 提交代码前 ` 在项目根目录运行下列命令(需要开发者电脑支持` mvn ` 命令)进行代码格式化
156
+ ```
157
+ mvn spring-javaformat:apply
158
+ ```
159
+ </details>
151
160
152
161
2. 欢迎提交 [issue](https://gitee.com/log4j/pig/issues),请写清楚遇到问题的原因、开发环境、复显步骤。
153
162
0 commit comments