pull/1/head
tanghc 5 years ago
parent 0f04d86432
commit 3dc11f0e20
  1. 4
      sop-admin/sop-admin-server/src/main/java/com/gitee/sop/adminserver/bean/ServiceRouteInfo.java
  2. 3
      sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/bean/ServiceRouteInfo.java
  3. 1
      sop-common/sop-service-common/src/main/java/com/gitee/sop/servercommon/route/ServiceRouteInfo.java

@ -1,6 +1,5 @@
package com.gitee.sop.adminserver.bean;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.Date;
@ -14,15 +13,12 @@ public class ServiceRouteInfo {
/** 服务名称,对应spring.application.name */
private String serviceId;
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
private Date createTime = new Date();
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
private Date updateTime = new Date();
private String description;
@JSONField(serialize = false)
private List<RouteDefinition> routeDefinitionList;
/** 是否是自定义服务,1:是,0:否 */

@ -1,6 +1,5 @@
package com.gitee.sop.gatewaycommon.bean;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.Date;
@ -17,10 +16,8 @@ public class ServiceRouteInfo {
*/
private String serviceId;
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
private Date createTime = new Date();
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
private Date updateTime = new Date();
private String description;

@ -1,6 +1,5 @@
package com.gitee.sop.servercommon.route;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.Date;

Loading…
Cancel
Save