refactor(payment-param): 移除日期相关字段及调整跳转路径字段

- 从PaymentParam类中移除createTime字段,以适应新的业务需求。
- 调整returnUrl字段的位置,提高字段的逻辑分组性。
- 添加了DateTimeFormat和JsonFormat注解,以确保日期格式的正确性。
master
wxy 2024-08-27 19:27:54 +08:00
parent dd0d355324
commit fd9b9b6580
1 changed files with 14 additions and 5 deletions

View File

@ -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;
}