完善支付流程,实现异步事件
This commit is contained in:
@@ -233,7 +233,7 @@ type QueryTradeResp struct {
|
||||
RefundState int32 `json:"refundState"`
|
||||
DrType *string `json:"drType"`
|
||||
ExtParam *string `json:"extParam"`
|
||||
PayTime *int64 `json:"payTime"`
|
||||
PayTime *string `json:"payTime"`
|
||||
Subject string `json:"subject"`
|
||||
TradeFee *int64 `json:"tradeFee"`
|
||||
CashFee *int64 `json:"cashFee"`
|
||||
@@ -443,3 +443,11 @@ const (
|
||||
SftRefundIng SftTradeState = "REFUND_ING"
|
||||
SftTradeClosed SftTradeState = "TRADE_CLOSED"
|
||||
)
|
||||
|
||||
type SftNotifyType string
|
||||
|
||||
var (
|
||||
SftNotifyTypeTrade = SftNotifyType("sft.trade.notify")
|
||||
SftNotifyTypeRefund = SftNotifyType("sft.refund.notify")
|
||||
SftNotifyTypeDivision = SftNotifyType("sft.division.notify")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user