红包出参时间类型修改
This commit is contained in:
parent
eaec1e81a9
commit
e05b8bed2f
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -89,5 +89,5 @@ public class RoomRedPacketDetailCO {
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
private String createTime;
|
||||
}
|
||||
|
||||
@ -38,5 +38,5 @@ public class RoomRedPacketRecordCO {
|
||||
/**
|
||||
* 抢红包时间
|
||||
*/
|
||||
private LocalDateTime grabTime;
|
||||
private String grabTime;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user