修复退款幂等与补偿重试
This commit is contained in:
@@ -26,6 +26,9 @@ type PaymentOrder struct {
|
||||
JSPayInfo string `gorm:"column:jspay_info;type:text" json:"jspay_info"`
|
||||
RawRequest datatypes.JSON `json:"raw_request"`
|
||||
RawResponse datatypes.JSON `json:"raw_response"`
|
||||
RetryCount int `gorm:"not null;default:0" json:"retry_count"`
|
||||
LastRetryAt *time.Time `json:"last_retry_at"`
|
||||
NextRetryAt *time.Time `json:"next_retry_at"`
|
||||
PaidAt *time.Time `json:"paid_at"`
|
||||
NotifiedAt *time.Time `json:"notified_at"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
|
||||
Reference in New Issue
Block a user