Explorar o código

:tada: :tada: :tada: v2.0.0

冷冷 %!s(int64=6) %!d(string=hai) anos
pai
achega
ddc5c1a4e0

+ 0 - 1
.editorconfig

@@ -10,7 +10,6 @@ continuation_indent_size = 8
 end_of_line = lf
 
 [*.{js, html}]
-charset = utf-8
 indent_style = space
 indent_size = 2
 end_of_line = lf

+ 1 - 1
.gitignore

@@ -57,5 +57,5 @@ Servers
 upload
 gen_code
 
-### node
+### node ###
 node_modules

+ 14 - 14
LICENSE

@@ -1,14 +1,14 @@
-     Copyright (c) 2018-2025, lengleng All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- Neither the name of the pig4cloud.com developer nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
- Author: lengleng (wangiegie@gmail.com)
+    Copyright (c) 2018-2025, lengleng All rights reserved.
+
+协议和授权
+pigX并非一个开源软件,作者保留全部的权利。
+
+🌹权益
+个人使用
+允许用于学习、毕设等。
+
+🚫禁止
+将本项目的部分或全部代码和资源进行任何形式的再发行(尤其上传GitHub、Gitee )
+利用本项目的部分或全部代码和资源进行任何商业行为
+
+    Author: lengleng (wangiegie@gmail.com)

+ 1 - 1
README.md

@@ -1,5 +1,5 @@
 ## pigx 2.0
-[pigx 2.0 部署文档](doc/md/deploy.md)  
+[pigx 2.0 部署文档](doc/md/deploy.md)  
 [pigx 2.0 新特性说明  ](https://www.bilibili.com/video/av37786337)   
 [pigx 2.0 从检出到启动](https://www.bilibili.com/video/av37695530)  
 [pigx pro新建微服务模块(一)](https://www.bilibili.com/video/av37737139)  

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 31 - 22
doc/db/2pigxx.sql


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2 - 7
doc/db/3pigxx_ac.sql


+ 0 - 3
docker-compose.yml

@@ -81,8 +81,6 @@ services:
     restart: always
     image: pigx-daemon
     container_name: pigx-daemon
-    ports:
-      - 5002:5002
 
   pigx-codegen:
     build:
@@ -92,7 +90,6 @@ services:
     image: pigx-codegen
     container_name: pigx-codegen
 
-
   pigx-activiti:
     build:
       context: ./

+ 4 - 4
pigx-auth/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-auth</artifactId>
@@ -42,13 +42,13 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-upms-api</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--security-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-security</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--JDBC相关-->
 		<dependency>
@@ -64,7 +64,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-cache</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--spring security 、oauth、jwt依赖-->
 		<dependency>

+ 2 - 2
pigx-common/pigx-common-cache/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-cache</artifactId>
@@ -38,7 +38,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--缓存依赖-->
 		<dependency>

+ 1 - 1
pigx-common/pigx-common-core/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-core</artifactId>

+ 2 - 2
pigx-common/pigx-common-gateway/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-gateway</artifactId>
@@ -36,7 +36,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>org.springframework.cloud</groupId>

+ 1 - 1
pigx-common/pigx-common-job/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-job</artifactId>

+ 3 - 3
pigx-common/pigx-common-log/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-log</artifactId>
@@ -38,13 +38,13 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--UPMS接口模块-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-upms-api</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--安全依赖获取上下文信息-->
 		<dependency>

+ 3 - 3
pigx-common/pigx-common-security/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-security</artifactId>
@@ -38,7 +38,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--安全模块-->
 		<dependency>
@@ -49,7 +49,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-upms-api</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 	</dependencies>
 </project>

+ 1 - 1
pigx-common/pigx-common-swagger/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-swagger</artifactId>

+ 2 - 2
pigx-common/pigx-common-transaction/pom.xml

@@ -5,7 +5,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-common</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common-transaction</artifactId>
@@ -17,7 +17,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--lcn 模块端控制依赖-->
 		<dependency>

+ 1 - 1
pigx-common/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-common</artifactId>

+ 1 - 1
pigx-config/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-config</artifactId>

+ 1 - 1
pigx-eureka/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-eureka</artifactId>

+ 4 - 4
pigx-gateway/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-gateway</artifactId>
@@ -46,7 +46,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-gateway</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--配置中心客户端-->
 		<dependency>
@@ -63,13 +63,13 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--缓存-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-cache</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--接口文档-->
 		<dependency>

+ 2 - 2
pigx-upms/pigx-upms-api/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-upms</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-upms-api</artifactId>
@@ -38,7 +38,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 	</dependencies>
 </project>

+ 7 - 7
pigx-upms/pigx-upms-biz/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-upms</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-upms-biz</artifactId>
@@ -37,25 +37,25 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-upms-api</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--日志处理-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-log</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--缓存依赖-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-cache</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--swagger-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-swagger</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--eureka 客户端-->
 		<dependency>
@@ -71,13 +71,13 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-security</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--支持动态路由配置 -->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-gateway</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--mybatis-->
 		<dependency>

+ 1 - 1
pigx-upms/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-upms</artifactId>

+ 6 - 6
pigx-visual/pigx-activiti/pom.xml

@@ -23,7 +23,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-visual</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-activiti</artifactId>
@@ -41,17 +41,17 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-upms-api</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-swagger</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>mysql</groupId>
@@ -117,12 +117,12 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-swagger</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-security</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--undertow容器-->
 		<dependency>

+ 4 - 4
pigx-visual/pigx-codegen/pom.xml

@@ -6,7 +6,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-visual</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-codegen</artifactId>
@@ -35,19 +35,19 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--swagger-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-swagger</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--安全模块-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-security</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--代码生成模板引擎-->
 		<dependency>

+ 5 - 5
pigx-visual/pigx-daemon/pom.xml

@@ -23,7 +23,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-visual</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-daemon</artifactId>
@@ -41,12 +41,12 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-job</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-swagger</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--mybatis-->
 		<dependency>
@@ -74,13 +74,13 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-swagger</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!-- 安全模块-->
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-security</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--web 模块-->
 		<dependency>

+ 3 - 3
pigx-visual/pigx-monitor/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-visual</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-monitor</artifactId>
@@ -36,12 +36,12 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-cache</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 		<!--监控服务端-->
 		<dependency>

+ 1 - 1
pigx-visual/pigx-sso-client-demo/pom.xml

@@ -29,7 +29,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-visual</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<dependencies>

+ 2 - 2
pigx-visual/pigx-tx-manager/pom.xml

@@ -5,7 +5,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx-visual</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-tx-manager</artifactId>
@@ -63,7 +63,7 @@
 		<dependency>
 			<groupId>com.pig4cloud</groupId>
 			<artifactId>pigx-common-core</artifactId>
-			<version>1.8.0</version>
+			<version>2.0.0</version>
 		</dependency>
 	</dependencies>
 	<build>

+ 1 - 1
pigx-visual/pom.xml

@@ -24,7 +24,7 @@
 	<parent>
 		<groupId>com.pig4cloud</groupId>
 		<artifactId>pigx</artifactId>
-		<version>1.8.0</version>
+		<version>2.0.0</version>
 	</parent>
 
 	<artifactId>pigx-visual</artifactId>

+ 1 - 1
pom.xml

@@ -24,7 +24,7 @@
 
 	<groupId>com.pig4cloud</groupId>
 	<artifactId>pigx</artifactId>
-	<version>1.8.0</version>
+	<version>2.0.0</version>
 	<name>${project.artifactId}</name>
 	<packaging>pom</packaging>
 	<organization>