支付记录 状态
This commit is contained in:
@@ -89,6 +89,10 @@ public class OrderPayment implements Serializable {
|
||||
* 支付相应结果 json
|
||||
*/
|
||||
private String respJson;
|
||||
/**
|
||||
* 支付状态:success, fail, init
|
||||
*/
|
||||
private String payStatus;
|
||||
|
||||
@Column(onInsertValue = "now()")
|
||||
private LocalDateTime createTime;
|
||||
@@ -107,6 +111,7 @@ public class OrderPayment implements Serializable {
|
||||
this.orderNo = orderNo;
|
||||
this.authCode = authCode;
|
||||
this.amount = amount;
|
||||
this.payStatus = "init";
|
||||
}
|
||||
|
||||
public OrderPayment(@NonNull Long shopId,@NonNull Long sourceId, @NotBlank String payType, @NotBlank String orderNo,
|
||||
@@ -118,5 +123,6 @@ public class OrderPayment implements Serializable {
|
||||
this.authCode = authCode;
|
||||
this.amount = amount;
|
||||
this.relatedId = relatedId;
|
||||
this.payStatus = "init";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user