diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java index 1f601ee5..3dbe53e3 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/convertor/RoomRedPacketAppConvertor.java @@ -38,10 +38,10 @@ public class RoomRedPacketAppConvertor { co.setRemainAmount(domain.getRemainAmount()); co.setRemainCount(domain.getRemainCount()); co.setExpireMinutes(domain.getExpireMinutes()); - co.setExpireTime(domain.getExpireTime()); + co.setExpireTime(domain.getExpireTime().toString()); co.setStatus(domain.getStatus()); co.setStatusDesc(getStatusDesc(domain.getStatus())); - co.setCreateTime(domain.getCreateTime()); + co.setCreateTime(domain.getCreateTime().toString()); // 计算倒计时(秒) if (domain.getExpireTime() != null) { @@ -71,7 +71,7 @@ public class RoomRedPacketAppConvertor { co.setRemainCount(domain.getRemainCount()); co.setStatus(domain.getStatus()); co.setStatusDesc(getStatusDesc(domain.getStatus())); - co.setCreateTime(domain.getCreateTime()); + co.setCreateTime(domain.getCreateTime().toString()); // 转换领取记录 if (records != null) { @@ -96,7 +96,7 @@ public class RoomRedPacketAppConvertor { co.setRecordId(domain.getRecordId()); co.setUserId(domain.getUserId()); co.setAmount(domain.getAmount()); - co.setGrabTime(domain.getGrabTime()); + co.setGrabTime(domain.getGrabTime().toString()); return co; } diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java index 98713819..d834054e 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketCO.java @@ -78,7 +78,7 @@ public class RoomRedPacketCO { /** * 过期时间 */ - private LocalDateTime expireTime; + private String expireTime; /** * 倒计时(秒) @@ -103,5 +103,5 @@ public class RoomRedPacketCO { /** * 创建时间 */ - private LocalDateTime createTime; + private String createTime; } diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java index 773fd657..9d669faf 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketDetailCO.java @@ -89,5 +89,5 @@ public class RoomRedPacketDetailCO { /** * 创建时间 */ - private LocalDateTime createTime; + private String createTime; } diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java index 9f056db7..1b59999c 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/RoomRedPacketRecordCO.java @@ -38,5 +38,5 @@ public class RoomRedPacketRecordCO { /** * 抢红包时间 */ - private LocalDateTime grabTime; + private String grabTime; }