支持微信支付宝独立支付渠道
This commit is contained in:
@@ -12,6 +12,7 @@ type PaymentOrder struct {
|
||||
OrderID uint64 `gorm:"not null;index" json:"order_id"`
|
||||
OrderNo string `gorm:"size:64;not null;index" json:"order_no"`
|
||||
UserID uint64 `gorm:"not null;index" json:"user_id"`
|
||||
PaymentConfigID uint64 `gorm:"not null;default:0;index" json:"payment_config_id"`
|
||||
Provider string `gorm:"size:32;not null" json:"provider"`
|
||||
MerchantID string `gorm:"size:32;not null;default:''" json:"merchant_id"`
|
||||
ThirdOrderID string `gorm:"size:64;not null;uniqueIndex" json:"third_order_id"`
|
||||
|
||||
@@ -17,7 +17,7 @@ type PaymentMerchantConfig struct {
|
||||
NotifyKey string `gorm:"type:text" json:"notify_key"` // 加密存储,拉卡拉使用通知验签证书 PEM
|
||||
NotifyURL string `gorm:"size:512;not null;default:''" json:"notify_url"`
|
||||
JumpURL string `gorm:"size:512;not null;default:''" json:"jump_url"`
|
||||
PayWay string `gorm:"size:32;not null;default:'ZFBZF'" json:"pay_way"`
|
||||
PayWay string `gorm:"size:32;not null;default:'ZFBZF';index:idx_payment_merchant_configs_pay_way" json:"pay_way"`
|
||||
JSPayFlag string `gorm:"column:jspay_flag;size:8;not null;default:'2'" json:"jspay_flag"`
|
||||
SignType string `gorm:"size:32;not null;default:'MD5'" json:"sign_type"`
|
||||
ExtraConfig JSONMap `gorm:"type:json" json:"extra_config"`
|
||||
|
||||
Reference in New Issue
Block a user