mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
1.13.4
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<dependency>
|
||||
<groupId>com.gitee.sop</groupId>
|
||||
<artifactId>sop-registry-api</artifactId>
|
||||
<version>1.13.3-SNAPSHOT</version>
|
||||
<version>1.13.4-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- easyopen starter -->
|
||||
|
@@ -7,7 +7,7 @@ import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author thc
|
||||
* @author tanghc
|
||||
*/
|
||||
@Data
|
||||
public class IsvInfoVO {
|
||||
|
@@ -4,7 +4,7 @@ import com.gitee.easyopen.doc.annotation.ApiDocField;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author thc
|
||||
* @author tanghc
|
||||
*/
|
||||
@Data
|
||||
public class IsvKeysVO {
|
||||
|
@@ -6,7 +6,7 @@ import lombok.Data;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author thc
|
||||
* @author tanghc
|
||||
*/
|
||||
@Data
|
||||
public class RoleVO {
|
||||
|
@@ -1,11 +1,7 @@
|
||||
package com.gitee.sop.adminserver.api.service.result;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.gitee.easyopen.doc.annotation.ApiDocField;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author tanghc
|
||||
@@ -34,19 +30,11 @@ public class ServiceInstanceVO {
|
||||
private String status;
|
||||
|
||||
@ApiDocField(description = "最后更新时间")
|
||||
private String lastUpdatedTimestamp;
|
||||
private String updateTime;
|
||||
|
||||
@ApiDocField(description = "parentId")
|
||||
private Integer parentId;
|
||||
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
public Date getUpdateTime() {
|
||||
if (StringUtils.isBlank(lastUpdatedTimestamp)) {
|
||||
return null;
|
||||
}
|
||||
return new Date(Long.valueOf(lastUpdatedTimestamp));
|
||||
}
|
||||
|
||||
public String getIpPort() {
|
||||
return ip != null && port > 0 ? ip + ":" + port : "";
|
||||
}
|
||||
|
@@ -8,7 +8,7 @@ import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author thc
|
||||
* @author tanghc
|
||||
*/
|
||||
@Data
|
||||
public class GatewayPredicateDefinition {
|
||||
|
@@ -7,7 +7,7 @@ import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author thc
|
||||
* @author tanghc
|
||||
*/
|
||||
@Data
|
||||
public class ServiceRouteInfo {
|
||||
|
@@ -23,7 +23,7 @@ import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
|
||||
/**
|
||||
* @author thc
|
||||
* @author tanghc
|
||||
*/
|
||||
@Configuration
|
||||
public class WebConfig {
|
||||
|
@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
|
||||
/**
|
||||
* 路由权限业务类
|
||||
*
|
||||
* @author thc
|
||||
* @author tanghc
|
||||
*/
|
||||
@Service
|
||||
@Slf4j
|
||||
|
Reference in New Issue
Block a user