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.

43 lines
1.2 KiB

9 months ago
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-已取消
Group string // 数据库分组
PageInfo
}
type GetOrderParams struct {
OrderID string `json:"orderID" form:"orderID"` //订单号
}
type SceneParams struct {
Scene string `json:"scene" form:"scene"` // 场景 my:我的 order-list:订单列表
}
type AddOrder 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
}
type UpdateUserOrderStatus struct {
OrderID string `json:"orderID"` //订单号
Status int `json:"status"` //订单状态 4-已完成 5-已取消
}
type CheckOrderParams struct {
Token string `json:"token" form:"token"`
}
type DeleteUserORder struct {
OrderID string `json:"orderID"` //订单号
}
type OrderMessage struct {
OrderID string `json:"orderID"` //订单号
}