This commit is contained in:
richboo111
2023-05-29 10:26:48 +08:00
parent 11fc0151aa
commit 2a08672aa1
4 changed files with 46 additions and 33 deletions

View File

@@ -293,20 +293,21 @@ type CreateOrderResp struct {
ShopOrderID string `json:"shop_order_id"` //商家订单号
PushTime int `json:"push_time"` //推送时间
//以下字段受请求参数中 return_flag 控制return_flag中未包含的此字段将不存在请注意
TotalPrice int `json:"total_price"` //配送费总额当return_flag中包含1时返回单位分值为计算出来此单总价
DeliveryDistanceMeter int `json:"delivery_distance_meter"` //配送距离当return_flag中包含2时返回单位米值为计算出来实际配送距离
WeightGram int `json:"weight_gram"` //商品重量当return_flag中包含4时返回单位克值为下单传入参数回传
StartTime int `json:"start_time"` //起送时间当return_flag中包含8时返回时间格式为Unix时间戳注意转换
ExpectTime int `json:"expect_time"` //预计送达时间当return_flag中包含16时返回时间格式为Unix时间戳注意转换
TotalPayMoney int `json:"total_pay_money"` //支付费用当return_flag中包含32时返回单位分
RealPayMoney int `json:"real_pay_money"` //实际支付金额当return_flag中包含64时返回单位分实际支付金额=总金额-优惠券总金额)
CouponsTotalFee int `json:"coupons_total_fee"` //优惠券总金额当return_flag中包含128时返回单位分
SettlementType int `json:"settlement_type"` //结算方式当return_flag中包含256时返回
TotalPrice float64 `json:"total_price"` //配送费总额当return_flag中包含1时返回单位分值为计算出来此单总价
DeliveryDistanceMeter float64 `json:"delivery_distance_meter"` //配送距离当return_flag中包含2时返回单位米值为计算出来实际配送距离
WeightGram float64 `json:"weight_gram"` //商品重量当return_flag中包含4时返回单位克值为下单传入参数回传
StartTime float64 `json:"start_time"` //起送时间当return_flag中包含8时返回时间格式为Unix时间戳注意转换
ExpectTime float64 `json:"expect_time"` //预计送达时间当return_flag中包含16时返回时间格式为Unix时间戳注意转换
TotalPayMoney float64 `json:"total_pay_money"` //支付费用当return_flag中包含32时返回单位分
RealPayMoney float64 `json:"real_pay_money"` //实际支付金额当return_flag中包含64时返回单位分实际支付金额=总金额-优惠券总金额)
CouponsTotalFee float64 `json:"coupons_total_fee"` //优惠券总金额当return_flag中包含128时返回单位分
SettlementType float64 `json:"settlement_type"` //结算方式当return_flag中包含256时返回
PickUPCode int `json:"pick_up_code"` //取件码。在顺丰同城商户侧配置,配置后有此字段
CompleteCode int `json:"complete_code"` //签收码。在顺丰同城商户侧配置,配置后有此字段
OverflowFee int `json:"overflow_fee"` //爆单费,单位分
InsureFee int `json:"insure_fee"` //保价费,单位分
PickUPCode float64 `json:"pick_up_code"` //取件码。在顺丰同城商户侧配置,配置后有此字段
CompleteCode float64 `json:"complete_code"` //签收码。在顺丰同城商户侧配置,配置后有此字段
OverflowFee float64 `json:"overflow_fee"` //爆单费,单位分
InsureFee float64 `json:"insure_fee"` //保价费,单位分
SubsidyFee float64 `json:"subsidy_fee"`
}
// PreCancelOrderReq 预取消订单