profit_sharing

This commit is contained in:
gazebo
2020-02-04 09:21:05 +08:00
parent 3b1ef805b5
commit c5fb7146a8

View File

@@ -40,6 +40,9 @@ const (
TradeTypeNative = "NATIVE" TradeTypeNative = "NATIVE"
TradeTypeAPP = "APP" TradeTypeAPP = "APP"
TradeTypeMicroPay = "MICROPAY" TradeTypeMicroPay = "MICROPAY"
OptYes = "Y"
OptNo = "N"
) )
type API struct { type API struct {
@@ -140,17 +143,18 @@ type CreateOrderParam struct {
TradeType string `json:"trade_type" xml:"trade_type"` TradeType string `json:"trade_type" xml:"trade_type"`
TotalFee int `json:"total_fee" xml:"total_fee"` TotalFee int `json:"total_fee" xml:"total_fee"`
Detail CData `json:"detail.omitempty" xml:"detail,omitempty"` Detail CData `json:"detail.omitempty" xml:"detail,omitempty"`
Attach string `json:"attach,omitempty" xml:"attach,omitempty"` Attach string `json:"attach,omitempty" xml:"attach,omitempty"`
FeeType string `json:"fee_type,omitempty" xml:"fee_type,omitempty"` FeeType string `json:"fee_type,omitempty" xml:"fee_type,omitempty"`
TimeStart string `json:"time_start,omitempty" xml:"time_start,omitempty"` TimeStart string `json:"time_start,omitempty" xml:"time_start,omitempty"`
TimeExpire string `json:"time_expire,omitempty" xml:"time_expire,omitempty"` TimeExpire string `json:"time_expire,omitempty" xml:"time_expire,omitempty"`
GoodsTag string `json:"goods_tag,omitempty" xml:"goods_tag,omitempty"` GoodsTag string `json:"goods_tag,omitempty" xml:"goods_tag,omitempty"`
ProductID string `json:"product_id,omitempty" xml:"product_id,omitempty"` ProductID string `json:"product_id,omitempty" xml:"product_id,omitempty"`
LimitPay string `json:"limit_pay,omitempty" xml:"limit_pay,omitempty"` LimitPay string `json:"limit_pay,omitempty" xml:"limit_pay,omitempty"`
OpenID string `json:"openid,omitempty" xml:"openid,omitempty"` OpenID string `json:"openid,omitempty" xml:"openid,omitempty"`
Receipt string `json:"receipt,omitempty" xml:"receipt,omitempty"` Receipt string `json:"receipt,omitempty" xml:"receipt,omitempty"`
SceneInfo string `json:"scene_info,omitempty" xml:"scene_info,omitempty"` SceneInfo string `json:"scene_info,omitempty" xml:"scene_info,omitempty"`
ProfitSharing string `json:"profit_sharing,omitempty" xml:"profit_sharing,omitempty"`
} }
type CloseOrderParam struct { type CloseOrderParam struct {