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.
86 lines
3.3 KiB
86 lines
3.3 KiB
6 months ago
|
package request
|
||
|
|
||
|
import "mime/multipart"
|
||
|
|
||
|
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-已取消
|
||
|
GoodsID int `json:"goodsID" form:"goodsID"` //商品id
|
||
|
Name string `json:"name" form:"name"` //收件人姓名
|
||
|
Phone string `json:"phone" form:"phone"` //收件人电话
|
||
|
CreatedAt string `json:"createdAt" form:"createdAt"` //订单下单时间
|
||
|
CreatedAtStart string `json:"createdAtStart" form:"createdAtStart"` // 下单起始时间
|
||
|
CreatedAtEnd string `json:"createdAtEnd" form:"createdAtEnd"` // 下单截至时间
|
||
|
UserId string `json:"userId" form:"userId"` // 用户id
|
||
|
InfluenceId string `json:"influenceId" form:"influenceId"` // 网红id
|
||
|
SpuNo string `json:"spu_no" form:"spu_no"` // 商品spu_no
|
||
|
PageInfo
|
||
|
}
|
||
|
|
||
|
type SearchOrderDetail struct {
|
||
|
OrderID string `json:"orderID" form:"orderID"` //订单号
|
||
|
}
|
||
|
|
||
|
type SearchBatchList struct {
|
||
|
Status int `json:"status" form:"status"` //发货状态 1-成功 2-失败
|
||
|
PageInfo
|
||
|
}
|
||
|
|
||
|
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"` //订单状态 3-已完成 4-已取消
|
||
|
}
|
||
|
|
||
|
type DeleteUserORder struct {
|
||
|
OrderID string `json:"orderID"` //订单号
|
||
|
}
|
||
|
|
||
|
type SendOrder struct {
|
||
|
OrderID string `json:"orderID" form:"orderID"` //订单号
|
||
|
CourierNumber string `json:"courierNumber"` //快递单号
|
||
|
Courier string `json:"courier"` //快递公司
|
||
|
CourierLink string `json:"courierLink"` //快递链接
|
||
|
}
|
||
|
|
||
|
type ParamsUpload struct {
|
||
|
File *multipart.FileHeader `json:"file" form:"file"` //文件
|
||
|
}
|
||
|
|
||
|
type ParamsUploadDesc struct {
|
||
|
File string `json:"file" form:"file"` //文件
|
||
|
}
|
||
|
|
||
|
type SearchOrderPostSale struct {
|
||
|
PageInfo
|
||
|
OrderId string `json:"orderId" form:"orderId"` // 订单号
|
||
|
Status int `json:"status" form:"status"` // 处理状态 1:待审核 2:退款中 3:退款成功 4:退款失败
|
||
|
ConfirmTimeStart string `json:"confirmTimeStart" form:"confirmTimeStart"` // 成交时间区间开始
|
||
|
ConfirmTimeEnd string `json:"confirmTimeEnd" form:"confirmTimeEnd"` // 成交时间区间结束
|
||
|
}
|
||
|
|
||
|
type ExamineOrderPostSale struct {
|
||
|
Id int `json:"id"` // 申请记录id
|
||
|
Status int `json:"status"` // 审核状态 1:通过 2:不通过
|
||
|
Remark string `json:"remark"` // 原因
|
||
|
}
|
||
|
|
||
|
type OrderStatistic struct {
|
||
|
OrderId string // 订单id
|
||
|
SaleVolume int64 // 销售量
|
||
|
SkuNo string // skuNo
|
||
|
UserId string // 用户id
|
||
|
ClaimNo string // 任务认领no
|
||
|
StoreNo string // 店铺no
|
||
|
PaidPrice float64 // 支付金额
|
||
|
Reward float64 // 佣金
|
||
|
}
|