Documentation ¶
Overview ¶
订单相关
Index ¶
- func Get(clt *core.Client, orderId uint64) (order *model.Order, err error)
- func GetList(clt *core.Client, req *GetListRequest) (total int, orders []model.Order, err error)
- func Search(clt *core.Client, req *SearchRequest) (total int, orders []model.Order, err error)
- type GetListRequest
- type SearchRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetListRequest ¶
type GetListRequest struct { StartCreateTime string `json:"start_create_time,omitempty"` EndCreateTime string `json:"end_create_time,omitempty"` StartUpdateTime string `json:"start_update_time,omitempty"` EndUpdateTime string `json:"end_update_time,omitempty"` Status model.OrderStatus `json:"status"` Page int `json:"page"` PageSize int `json:"page_size"` }
type SearchRequest ¶
type SearchRequest struct { StartPayTime string `json:"start_pay_time,omitempty"` // 订单支付时间的搜索开始时间 EndPayTime string `json:"end_pay_time,omitempty"` // 订单支付时间的搜索结束时间 Title string `json:"title,omitempty"` // 商品标题关键词 SkuCode string `json:"sku_code,omitempty"` // 商品编码 UserName string `json:"user_name,omitempty"` // 收件人 Mobile string `json:"tel_number,omitempty"` // 收件人电话 OnAftersaleOrderExist *int `json:"on_aftersale_order_exist"` // 不填该参数:全部订单 0:没有正在售后的订单, 1:正在售后单数量大于等于1的订单 Status model.OrderStatus `json:"status,omitempty"` // 订单状态 Page int `json:"page"` PageSize int `json:"page_size"` }
Click to show internal directories.
Click to hide internal directories.