Merge branch 'master' of https://e.coding.net/rosydev/baseapi
This commit is contained in:
@@ -496,3 +496,25 @@ type MultiPickupInfo struct {
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
// 添加小费请求参数
|
||||
type Addordergratuityfee struct {
|
||||
DevId int64 `json:"dev_id"` // 开发者ID
|
||||
OrderId string `json:"order_id"` // 订单id
|
||||
PushTime int64 `json:"push_time"` // 推送时间;秒级时间戳
|
||||
GratuityFee int64 `json:"gratuity_fee"` // 订单小费,单位分,加小费最低不能少于100分
|
||||
|
||||
OrderType int64 `json:"order_type"` // 订单ID类型
|
||||
ShopId int64 `json:"shop_id"` // 店铺id
|
||||
ShopType int64 `json:"shop_type"` // 店铺ID类型
|
||||
serialNumber string `json:"serial_number"` // 加小费传入的唯一标识,用来幂等处理
|
||||
}
|
||||
|
||||
// 添加小费返回参数
|
||||
type AddordergratuityfeeResp struct {
|
||||
SfOrderId string `json:"sf_order_id"` // 顺丰订单号
|
||||
ShopOrderId string `json:"shop_order_id"` // 商家订单号
|
||||
GratuityFee int `json:"gratuity_fee"` // 本次加小费金额
|
||||
TotalGratuityFee int `json:"total_gratuity_fee"` // 该订单总的加小费金额
|
||||
PushTime string `json:"push_time"` // 推送时间
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user