Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
pig_冷冷
Pig
提交
fb60b8d0
Pig
项目概览
pig_冷冷
/
Pig
上一次同步 大约 1 年
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Pig
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fb60b8d0
编写于
11月 09, 2019
作者:
pig_冷冷
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor: 重构部分代码,修改过期类引用
Closes #I14NWH
上级
d656146b
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
125 addition
and
76 deletion
+125
-76
pig-auth/pom.xml
pig-auth/pom.xml
+3
-3
pig-common/pig-common-core/pom.xml
pig-common/pig-common-core/pom.xml
+1
-1
pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/util/WebUtils.java
...ain/java/com/pig4cloud/pig/common/core/util/WebUtils.java
+1
-39
pig-common/pig-common-core/src/main/resources/META-INF/spring.factories
...-common-core/src/main/resources/META-INF/spring.factories
+0
-1
pig-common/pig-common-log/pom.xml
pig-common/pig-common-log/pom.xml
+3
-3
pig-common/pig-common-security/pom.xml
pig-common/pig-common-security/pom.xml
+3
-3
pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PermitAllUrlConfiguration.java
.../common/security/component/PermitAllUrlConfiguration.java
+42
-0
pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigResourceServerAutoConfiguration.java
...ecurity/component/PigResourceServerAutoConfiguration.java
+2
-0
pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigResourceServerConfigurerAdapter.java
...ecurity/component/PigResourceServerConfigurerAdapter.java
+3
-4
pig-common/pom.xml
pig-common/pom.xml
+1
-1
pig-config/pom.xml
pig-config/pom.xml
+1
-1
pig-eureka/pom.xml
pig-eureka/pom.xml
+1
-1
pig-gateway/pom.xml
pig-gateway/pom.xml
+2
-2
pig-gateway/src/main/java/com/pig4cloud/pig/gateway/PigGatewayApplication.java
...java/com/pig4cloud/pig/gateway/PigGatewayApplication.java
+2
-0
pig-gateway/src/main/java/com/pig4cloud/pig/gateway/config/IgnoreClientConfiguration.java
...g4cloud/pig/gateway/config/IgnoreClientConfiguration.java
+42
-0
pig-gateway/src/main/java/com/pig4cloud/pig/gateway/filter/ValidateCodeGatewayFilter.java
...g4cloud/pig/gateway/filter/ValidateCodeGatewayFilter.java
+3
-3
pig-gateway/src/main/java/com/pig4cloud/pig/gateway/handler/HystrixFallbackHandler.java
...pig4cloud/pig/gateway/handler/HystrixFallbackHandler.java
+1
-1
pig-upms/pig-upms-api/pom.xml
pig-upms/pig-upms-api/pom.xml
+2
-2
pig-upms/pig-upms-biz/pom.xml
pig-upms/pig-upms-biz/pom.xml
+4
-4
pig-upms/pom.xml
pig-upms/pom.xml
+1
-1
pig-visual/pig-codegen/pom.xml
pig-visual/pig-codegen/pom.xml
+3
-3
pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/SysGeneratorService.java
...om/pig4cloud/pig/codegen/service/SysGeneratorService.java
+1
-0
pig-visual/pig-monitor/pom.xml
pig-visual/pig-monitor/pom.xml
+1
-1
pig-visual/pom.xml
pig-visual/pom.xml
+1
-1
pom.xml
pom.xml
+1
-1
未找到文件。
pig-auth/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-auth
</artifactId>
...
...
@@ -39,13 +39,13 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-upms-api
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--security-->
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-security
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--JDBC相关-->
<dependency>
...
...
pig-common/pig-common-core/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-common-core
</artifactId>
...
...
pig-common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/util/WebUtils.java
浏览文件 @
fb60b8d0
...
...
@@ -138,7 +138,7 @@ public class WebUtils extends org.springframework.web.util.WebUtils {
* @param result 结果对象
*/
public
void
renderJson
(
HttpServletResponse
response
,
Object
result
)
{
renderJson
(
response
,
result
,
MediaType
.
APPLICATION_JSON_
UTF8_
VALUE
);
renderJson
(
response
,
result
,
MediaType
.
APPLICATION_JSON_VALUE
);
}
/**
...
...
@@ -158,44 +158,6 @@ public class WebUtils extends org.springframework.web.util.WebUtils {
}
}
/**
* 获取ip
*
* @return {String}
*/
public
String
getIP
()
{
return
getIP
(
WebUtils
.
getRequest
());
}
/**
* 获取ip
*
* @param request HttpServletRequest
* @return {String}
*/
public
String
getIP
(
HttpServletRequest
request
)
{
Assert
.
notNull
(
request
,
"HttpServletRequest is null"
);
String
ip
=
request
.
getHeader
(
"X-Requested-For"
);
if
(
StringUtils
.
isBlank
(
ip
)
||
UNKNOWN
.
equalsIgnoreCase
(
ip
))
{
ip
=
request
.
getHeader
(
"X-Forwarded-For"
);
}
if
(
StringUtils
.
isBlank
(
ip
)
||
UNKNOWN
.
equalsIgnoreCase
(
ip
))
{
ip
=
request
.
getHeader
(
"Proxy-Client-IP"
);
}
if
(
StringUtils
.
isBlank
(
ip
)
||
UNKNOWN
.
equalsIgnoreCase
(
ip
))
{
ip
=
request
.
getHeader
(
"WL-Proxy-Client-IP"
);
}
if
(
StringUtils
.
isBlank
(
ip
)
||
UNKNOWN
.
equalsIgnoreCase
(
ip
))
{
ip
=
request
.
getHeader
(
"HTTP_CLIENT_IP"
);
}
if
(
StringUtils
.
isBlank
(
ip
)
||
UNKNOWN
.
equalsIgnoreCase
(
ip
))
{
ip
=
request
.
getHeader
(
"HTTP_X_FORWARDED_FOR"
);
}
if
(
StringUtils
.
isBlank
(
ip
)
||
UNKNOWN
.
equalsIgnoreCase
(
ip
))
{
ip
=
request
.
getRemoteAddr
();
}
return
StringUtils
.
isBlank
(
ip
)
?
null
:
ip
.
split
(
","
)[
0
];
}
/**
* 从request 获取CLIENT_ID
...
...
pig-common/pig-common-core/src/main/resources/META-INF/spring.factories
浏览文件 @
fb60b8d0
...
...
@@ -2,7 +2,6 @@ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.pig4cloud.pig.common.core.config.JacksonConfig,\
com.pig4cloud.pig.common.core.config.RedisTemplateConfig,\
com.pig4cloud.pig.common.core.config.RestTemplateConfig,\
com.pig4cloud.pig.common.core.config.FilterIgnorePropertiesConfig,\
com.pig4cloud.pig.common.core.exception.GlobalExceptionHandler,\
com.pig4cloud.pig.common.core.util.SpringContextHolder,\
com.pig4cloud.pig.common.core.mybatis.WebMvcConfig
pig-common/pig-common-log/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-common-log
</artifactId>
...
...
@@ -35,13 +35,13 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-core
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--UPMS接口模块-->
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-upms-api
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--安全依赖获取上下文信息-->
<dependency>
...
...
pig-common/pig-common-security/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-common-security
</artifactId>
...
...
@@ -35,7 +35,7 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-core
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--安全模块-->
<dependency>
...
...
@@ -50,7 +50,7 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-upms-api
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
</dependencies>
</project>
pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PermitAllUrlConfiguration.java
0 → 100755
浏览文件 @
fb60b8d0
/*
* 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)
*/
package
com.pig4cloud.pig.common.security.component
;
import
lombok.Data
;
import
org.springframework.boot.context.properties.ConfigurationProperties
;
import
org.springframework.boot.context.properties.ConfigurationPropertiesScan
;
import
org.springframework.cloud.context.config.annotation.RefreshScope
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* @author lengleng
* @date 2019-11-09
* <p>
* 放行接口配置
*/
@Data
@RefreshScope
@ConfigurationProperties
(
prefix
=
"ignore"
)
public
class
PermitAllUrlConfiguration
{
/**
* 放行url,支持 ant 表达式
*/
private
List
<
String
>
urls
=
new
ArrayList
<>();
}
pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigResourceServerAutoConfiguration.java
浏览文件 @
fb60b8d0
...
...
@@ -17,6 +17,7 @@
package
com.pig4cloud.pig.common.security.component
;
import
lombok.SneakyThrows
;
import
org.springframework.boot.context.properties.ConfigurationPropertiesScan
;
import
org.springframework.cloud.client.loadbalancer.LoadBalanced
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.ComponentScan
;
...
...
@@ -30,6 +31,7 @@ import org.springframework.web.client.RestTemplate;
* @author lengleng
* @date 2019/03/08
*/
@ConfigurationPropertiesScan
@ComponentScan
(
"com.pig4cloud.pig.common.security"
)
public
class
PigResourceServerAutoConfiguration
{
@Bean
...
...
pig-common/pig-common-security/src/main/java/com/pig4cloud/pig/common/security/component/PigResourceServerConfigurerAdapter.java
浏览文件 @
fb60b8d0
...
...
@@ -16,7 +16,6 @@
package
com.pig4cloud.pig.common.security.component
;
import
com.pig4cloud.pig.common.core.config.FilterIgnorePropertiesConfig
;
import
lombok.SneakyThrows
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -45,10 +44,10 @@ public class PigResourceServerConfigurerAdapter extends ResourceServerConfigurer
@Autowired
protected
RemoteTokenServices
remoteTokenServices
;
@Autowired
private
FilterIgnorePropertiesConfig
ignorePropertiesConfig
;
@Autowired
private
AccessDeniedHandler
pigAccessDeniedHandler
;
@Autowired
private
PermitAllUrlConfiguration
permitAllUrl
;
@Autowired
private
RestTemplate
lbRestTemplate
;
/**
...
...
@@ -64,7 +63,7 @@ public class PigResourceServerConfigurerAdapter extends ResourceServerConfigurer
ExpressionUrlAuthorizationConfigurer
<
HttpSecurity
>
.
ExpressionInterceptUrlRegistry
registry
=
httpSecurity
.
authorizeRequests
();
ignorePropertiesConfig
.
getUrls
()
permitAllUrl
.
getUrls
()
.
forEach
(
url
->
registry
.
antMatchers
(
url
).
permitAll
());
registry
.
anyRequest
().
authenticated
()
.
and
().
csrf
().
disable
();
...
...
pig-common/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-common
</artifactId>
...
...
pig-config/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-config
</artifactId>
...
...
pig-eureka/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-eureka
</artifactId>
...
...
pig-gateway/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-gateway
</artifactId>
...
...
@@ -54,7 +54,7 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-core
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
</dependencies>
...
...
pig-gateway/src/main/java/com/pig4cloud/pig/gateway/PigGatewayApplication.java
浏览文件 @
fb60b8d0
...
...
@@ -18,6 +18,7 @@ package com.pig4cloud.pig.gateway;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.context.properties.ConfigurationPropertiesScan
;
import
org.springframework.cloud.client.SpringCloudApplication
;
/**
...
...
@@ -27,6 +28,7 @@ import org.springframework.cloud.client.SpringCloudApplication;
* 网关应用
*/
@SpringCloudApplication
@ConfigurationPropertiesScan
public
class
PigGatewayApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
pig-
common/pig-common-core/src/main/java/com/pig4cloud/pig/common/core/config/FilterIgnorePropertiesConfig
.java
→
pig-
gateway/src/main/java/com/pig4cloud/pig/gateway/config/IgnoreClientConfiguration
.java
浏览文件 @
fb60b8d0
/*
* Copyright (c) 2019-2020, 冷冷 (wangiegie@gmail.com).
* <p>
* Licensed under the GNU Lesser General Public License 3.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* https://www.gnu.org/licenses/lgpl.html
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* 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)
*/
package
com.pig4cloud.pig.
common.core
.config
;
package
com.pig4cloud.pig.
gateway
.config
;
import
lombok.Data
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnExpression
;
...
...
@@ -31,21 +32,11 @@ import java.util.List;
* 放行参数配置
*/
@Data
@Configuration
@RefreshScope
@ConditionalOnExpression
(
"!'${ignore}'.isEmpty()"
)
@ConfigurationProperties
(
prefix
=
"ignore"
)
public
class
FilterIgnorePropertiesConfig
{
public
class
IgnoreClientConfiguration
{
/**
* 放行终端配置,网关不校验此处的终端
*/
private
List
<
String
>
clients
=
new
ArrayList
<>();
/**
* 放行url,放行的url不再被安全框架拦截
*/
private
List
<
String
>
urls
=
new
ArrayList
<>();
/**
* 不聚合swagger
*/
private
List
<
String
>
swaggerProviders
=
new
ArrayList
<>();
}
pig-gateway/src/main/java/com/pig4cloud/pig/gateway/filter/ValidateCodeGatewayFilter.java
浏览文件 @
fb60b8d0
...
...
@@ -19,12 +19,12 @@ package com.pig4cloud.pig.gateway.filter;
import
cn.hutool.core.util.StrUtil
;
import
com.fasterxml.jackson.core.JsonProcessingException
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
com.pig4cloud.pig.common.core.config.FilterIgnorePropertiesConfig
;
import
com.pig4cloud.pig.common.core.constant.CommonConstants
;
import
com.pig4cloud.pig.common.core.constant.SecurityConstants
;
import
com.pig4cloud.pig.common.core.exception.ValidateCodeException
;
import
com.pig4cloud.pig.common.core.util.R
;
import
com.pig4cloud.pig.common.core.util.WebUtils
;
import
com.pig4cloud.pig.gateway.config.IgnoreClientConfiguration
;
import
lombok.AllArgsConstructor
;
import
lombok.SneakyThrows
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -46,9 +46,9 @@ import reactor.core.publisher.Mono;
@Component
@AllArgsConstructor
public
class
ValidateCodeGatewayFilter
extends
AbstractGatewayFilterFactory
{
private
final
IgnoreClientConfiguration
ignoreClient
;
private
final
ObjectMapper
objectMapper
;
private
final
RedisTemplate
redisTemplate
;
private
final
FilterIgnorePropertiesConfig
filterIgnorePropertiesConfig
;
@Override
public
GatewayFilter
apply
(
Object
config
)
{
...
...
@@ -70,7 +70,7 @@ public class ValidateCodeGatewayFilter extends AbstractGatewayFilterFactory {
// 终端设置不校验, 直接向下执行
try
{
String
[]
clientInfos
=
WebUtils
.
getClientId
(
request
);
if
(
filterIgnorePropertiesConfig
.
getClients
().
contains
(
clientInfos
[
0
]))
{
if
(
ignoreClient
.
getClients
().
contains
(
clientInfos
[
0
]))
{
return
chain
.
filter
(
exchange
);
}
...
...
pig-gateway/src/main/java/com/pig4cloud/pig/gateway/handler/HystrixFallbackHandler.java
浏览文件 @
fb60b8d0
...
...
@@ -45,6 +45,6 @@ public class HystrixFallbackHandler implements HandlerFunction<ServerResponse> {
originalUris
.
ifPresent
(
originalUri
->
log
.
error
(
"网关执行请求:{}失败,hystrix服务降级处理"
,
originalUri
));
return
ServerResponse
.
status
(
HttpStatus
.
INTERNAL_SERVER_ERROR
.
value
())
.
contentType
(
MediaType
.
TEXT_PLAIN
).
body
(
BodyInserters
.
from
Object
(
"服务异常"
));
.
contentType
(
MediaType
.
TEXT_PLAIN
).
body
(
BodyInserters
.
from
Value
(
"服务异常"
));
}
}
pig-upms/pig-upms-api/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-upms
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-upms-api
</artifactId>
...
...
@@ -35,7 +35,7 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-core
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
</dependencies>
</project>
pig-upms/pig-upms-biz/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-upms
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-upms-biz
</artifactId>
...
...
@@ -34,19 +34,19 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-upms-api
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--安全模块-->
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-security
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--日志处理-->
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-log
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--配置中心客户端-->
<dependency>
...
...
pig-upms/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-upms
</artifactId>
...
...
pig-visual/pig-codegen/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -22,7 +22,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-visual
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-codegen
</artifactId>
...
...
@@ -50,13 +50,13 @@
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-core
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--安全模块-->
<dependency>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-common-security
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</dependency>
<!--代码生成模板引擎-->
<dependency>
...
...
pig-visual/pig-codegen/src/main/java/com/pig4cloud/pig/codegen/service/SysGeneratorService.java
浏览文件 @
fb60b8d0
...
...
@@ -39,6 +39,7 @@ public interface SysGeneratorService {
/**
* 分页查询表
*
* @param page 分页参数
* @param tableName 表名
* @return
*/
...
...
pig-visual/pig-monitor/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig-visual
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-monitor
</artifactId>
...
...
pig-visual/pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -21,7 +21,7 @@
<parent>
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
</parent>
<artifactId>
pig-visual
</artifactId>
...
...
pom.xml
浏览文件 @
fb60b8d0
...
...
@@ -27,7 +27,7 @@
<groupId>
com.pig4cloud
</groupId>
<artifactId>
pig
</artifactId>
<version>
2.5.
1
</version>
<version>
2.5.
2.snapshot
</version>
<name>
${project.artifactId}
</name>
<packaging>
pom
</packaging>
<url>
https://www.pig4cloud.com
</url>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录