diff --git a/src/main/java/com/muyu/common/system/domain/PaymentParam.java b/src/main/java/com/muyu/common/system/domain/PaymentParam.java index 66d51c3..ef98645 100644 --- a/src/main/java/com/muyu/common/system/domain/PaymentParam.java +++ b/src/main/java/com/muyu/common/system/domain/PaymentParam.java @@ -1,8 +1,11 @@ package com.muyu.common.system.domain; +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; +import java.util.Date; /** * @Author: wangxinyuan @@ -12,17 +15,18 @@ import java.math.BigDecimal; public class PaymentParam { - /** - * 跳转路径 - */ - private String returnUrl; - + private Integer id; /** * 异步跳转路径 */ private String notifyUrl; + /** + * 跳转路径 + */ + private String returnUrl; + /** * 订单号 */ @@ -43,4 +47,9 @@ public class PaymentParam { */ private String productCode; + + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date createTime; + }