Skip to content

Commit

Permalink
Merge pull request #187 from cheng521521/main
Browse files Browse the repository at this point in the history
fix: update LocalDateTime to Long
  • Loading branch information
liberhe authored Mar 3, 2024
2 parents e40a9d8 + 10a6beb commit 8c7f40f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/main/java/com/dl/officialsite/bounty/Bounty.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ public class Bounty {
//流支付ID
private String streamId;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime streamStart;
private Long streamStart;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime streamEnd;
private Long streamEnd;

private String streamChainId;

Expand Down
7 changes: 3 additions & 4 deletions src/main/java/com/dl/officialsite/bounty/vo/BountyVo.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.dl.officialsite.bounty.BountyMemberMap;
import com.dl.officialsite.member.Member;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.Instant;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
Expand Down Expand Up @@ -53,11 +54,9 @@ public class BountyVo {
//流支付ID
private String streamId;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime streamStart;
private Long streamStart;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime streamEnd;
private Long streamEnd;

private String streamChainId;

Expand Down

0 comments on commit 8c7f40f

Please sign in to comment.