feat: 支付闭环
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package radio
|
||||
|
||||
import "sundynix-go/global"
|
||||
|
||||
type PayNotify struct {
|
||||
global.BaseModel
|
||||
Amount int64 `json:"amount" gorm:"column:amount"`
|
||||
Currency string `json:"currency" gorm:"column:currency"`
|
||||
PayerCurrency string `json:"payer_currency" gorm:"column:payer_currency"`
|
||||
PayerTotal int64 `json:"payer_total" gorm:"column:payer_total"`
|
||||
Appid string `json:"appId" gorm:"column:app_id"`
|
||||
Attach string `json:"attach" gorm:"column:attach"`
|
||||
BankType string `json:"bank_type" gorm:"column:bank_type"`
|
||||
MchId string `json:"mchId" gorm:"column:mch_id"`
|
||||
OutTradeNo string `json:"out_trade_no" gorm:"column:out_trade_no"`
|
||||
Payer string `json:"payer" gorm:"column:out_trade_no"`
|
||||
SuccessTime string `json:"success_time" gorm:"column:success_time"`
|
||||
TradeState string `json:"trade_state" gorm:"column:trade_state"`
|
||||
TradeStateDesc string `json:"trade_state_desc" gorm:"column:trade_state_desc"`
|
||||
TradeType string `json:"trade_type" gorm:"column:trade_type"`
|
||||
TransactionId string `json:"transaction_id" gorm:"column:transaction_id"`
|
||||
}
|
||||
Reference in New Issue
Block a user