You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.8 KiB

package request
type SearchOrderList struct {
OrderID string `json:"orderID" form:"orderID"` //订单号
Code string `json:"code" form:"code"` //网红码?
Status int `json:"status" form:"status"` //订单状态 1-待付款 2-待发货 3-已发货 4-已完成 5-已取消 10:退款
PageInfo
}
type SearchOrderDetail struct {
OrderID string `json:"orderID" form:"orderID"` //订单号
}
type OrderPay struct {
OrderID string `json:"orderID"` //订单号
PayMode int `json:"payMode"` // 支付渠道 1:Alipay
PayMethod string `json:"pay_method"` // 支付方式 /global/payment-methods接口返回的value
}
type CreateOrderParams struct {
Code string `json:"code"` //网红码?
SkuID int `json:"skuID"` //商品规格id
Number int `json:"number"` //数量
AddressID int `json:"addressID"` //收货地址id
PayMode int `json:"payMode"` // 支付平台 1-paypal
Platform string `json:"platform"` // 下单平台 数据字典release_channel
PaymentMethod string `json:"payment_method"` // 支付平台 /global/payment-methods接口返回的value
}
type CreateOrder struct {
Code string `json:"code"` // 网红领取任务码
SkuID string `json:"skuID"` // 商品规格id
Number int `json:"number"` //数量
PayMode int `json:"payMode"` //支付方式 1-paypal
}
type UpdateUserOrderStatus struct {
OrderID string `json:"orderID"` //订单号
Status int `json:"status"` //订单状态 4-已完成 5-已取消
}
type UpdateOrderAddress struct {
OrderID string `json:"orderID"` //订单号
FirstName string `json:"firstName"` // first name
LastName string `json:"lastName"` // last name
Street string `json:"street"` // 街道
Phone string `json:"phone"` // 手机号
Bldg string `json:"bldg"` //
City string `json:"city"`
State string `json:"state"`
ZipCode string `json:"zipCode"`
}
type CheckOrderParams struct {
Token string `json:"token" form:"token"`
}
type DeleteUserORder struct {
OrderID string `json:"orderID"` //订单号
}
type OrderMessage struct {
OrderID string `json:"orderID"` //订单号
}
type PostSaleParams struct {
OrderId string `json:"orderId"` // 订单id
Reason string `json:"reason"` // 原因选项
Amount float64 `json:"amount"` // 退款金额
Images string `json:"images"` // 图片
Videos string `json:"videos"` // 视频
}
type CreatePayOrderParams struct {
OrderId string
SpuNo string
ClaimNo string
}
type OrderStatistic struct {
OrderId string // 订单id
SaleVolume int64 // 销售量
SkuNo string // skuNo
SpuNo string // spuNo
UserId string // 用户id
ClaimNo string // 任务认领no
StoreNo string // 店铺no
Money float64 // 支付金额
Reward float64 // 佣金
}