refactor(payment-param): 移除日期相关字段及调整跳转路径字段
- 从PaymentParam类中移除createTime字段,以适应新的业务需求。 - 调整returnUrl字段的位置,提高字段的逻辑分组性。 - 添加了DateTimeFormat和JsonFormat注解,以确保日期格式的正确性。master
parent
dd0d355324
commit
fd9b9b6580
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue