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>
|
<dependency>
|
||||||
<groupId>com.gitee.sop</groupId>
|
<groupId>com.gitee.sop</groupId>
|
||||||
<artifactId>sop-registry-api</artifactId>
|
<artifactId>sop-registry-api</artifactId>
|
||||||
<version>1.13.3-SNAPSHOT</version>
|
<version>1.13.4-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- easyopen starter -->
|
<!-- easyopen starter -->
|
||||||
|
@@ -7,7 +7,7 @@ import java.util.Date;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author thc
|
* @author tanghc
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class IsvInfoVO {
|
public class IsvInfoVO {
|
||||||
|
@@ -4,7 +4,7 @@ import com.gitee.easyopen.doc.annotation.ApiDocField;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author thc
|
* @author tanghc
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class IsvKeysVO {
|
public class IsvKeysVO {
|
||||||
|
@@ -6,7 +6,7 @@ import lombok.Data;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author thc
|
* @author tanghc
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class RoleVO {
|
public class RoleVO {
|
||||||
|
@@ -1,11 +1,7 @@
|
|||||||
package com.gitee.sop.adminserver.api.service.result;
|
package com.gitee.sop.adminserver.api.service.result;
|
||||||
|
|
||||||
import com.alibaba.fastjson.annotation.JSONField;
|
|
||||||
import com.gitee.easyopen.doc.annotation.ApiDocField;
|
import com.gitee.easyopen.doc.annotation.ApiDocField;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.apache.commons.lang.StringUtils;
|
|
||||||
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author tanghc
|
* @author tanghc
|
||||||
@@ -34,19 +30,11 @@ public class ServiceInstanceVO {
|
|||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
@ApiDocField(description = "最后更新时间")
|
@ApiDocField(description = "最后更新时间")
|
||||||
private String lastUpdatedTimestamp;
|
private String updateTime;
|
||||||
|
|
||||||
@ApiDocField(description = "parentId")
|
@ApiDocField(description = "parentId")
|
||||||
private Integer 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() {
|
public String getIpPort() {
|
||||||
return ip != null && port > 0 ? ip + ":" + port : "";
|
return ip != null && port > 0 ? ip + ":" + port : "";
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@ import java.util.LinkedHashMap;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author thc
|
* @author tanghc
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class GatewayPredicateDefinition {
|
public class GatewayPredicateDefinition {
|
||||||
|
@@ -7,7 +7,7 @@ import java.util.Date;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author thc
|
* @author tanghc
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class ServiceRouteInfo {
|
public class ServiceRouteInfo {
|
||||||
|
@@ -23,7 +23,7 @@ import javax.servlet.http.HttpServletRequest;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author thc
|
* @author tanghc
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
public class WebConfig {
|
public class WebConfig {
|
||||||
|
@@ -26,7 +26,7 @@ import java.util.stream.Collectors;
|
|||||||
/**
|
/**
|
||||||
* 路由权限业务类
|
* 路由权限业务类
|
||||||
*
|
*
|
||||||
* @author thc
|
* @author tanghc
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
Reference in New Issue
Block a user