This commit is contained in:
16
backend_v1/pkg/fields/orders.go
Normal file
16
backend_v1/pkg/fields/orders.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package fields
|
||||
|
||||
import (
|
||||
"github.com/go-pay/gopay/wechat/v3"
|
||||
)
|
||||
|
||||
// swagger:enum OrderStatus
|
||||
// ENUM( pending, paid, refund_success, refund_closed, refund_processing, refund_abnormal, cancelled, completed)
|
||||
type OrderStatus int16
|
||||
|
||||
type OrderMeta struct {
|
||||
PayNotify *wechat.V3DecryptPayResult `json:"pay_notify"`
|
||||
RefundResp *wechat.RefundOrderResponse `json:"refund_resp"`
|
||||
RefundNotify *wechat.V3DecryptRefundResult `json:"refund_notify"`
|
||||
CostBalance int64 `json:"cost_balance"` // 余额支付的金额
|
||||
}
|
||||
Reference in New Issue
Block a user