Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Jan 22, 2024
1 parent 0b4df1d commit 5291d38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/dl/officialsite/redpacket/RedPacket.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class RedPacket {
@NotNull
private String chainId;

//0 uncompleted 1 completed 2 超时 3 refund 4 pending
//0 uncompleted 1 completed 2 超时 3 refund
private Integer status;

private Boolean ifRandom;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void updateRedpacketStatus() throws IOException {


List<RedPacket> redPacketList = redPacketRepository.findUnfinishedRedpacketByChainId(chainId);

log.info("redPacketList size " + redPacketList.size());
for (int i = 0; i < redpacketsArray.size(); i++) {
// Access each element in the array
JsonObject redpacketObject = redpacketsArray.get(i).getAsJsonObject();
Expand Down

0 comments on commit 5291d38

Please sign in to comment.