添加支付宝和微信充值功能,重构交易处理逻辑,优化资源创建与支付链接生成
This commit is contained in:
@@ -30,6 +30,7 @@ type Trade struct {
|
||||
Type int32 `gorm:"column:type;not null" json:"type"`
|
||||
CancelAt common.LocalDateTime `gorm:"column:cancel_at" json:"cancel_at"`
|
||||
PaidAt common.LocalDateTime `gorm:"column:paid_at" json:"paid_at"`
|
||||
PayURL string `gorm:"column:pay_url" json:"pay_url"`
|
||||
}
|
||||
|
||||
// TableName Trade's table name
|
||||
|
||||
Reference in New Issue
Block a user