This commit is contained in:
richboo111
2023-01-09 13:50:02 +08:00
parent eee0e2b9fd
commit c4223bbf96
5 changed files with 227 additions and 141 deletions

View File

@@ -122,9 +122,8 @@ type GetOrderPriceReq struct {
//计算订单价格返回体
type GetOrderPriceResp struct {
BaseRespInfo *BaseRespInfo
//必返回
OriginID string `json:"origin_id"` //第三方对接平台订单id
PriceToken string `json:"price_token"` //金额令牌,提交订单前必须先计算价格
TotalMoney string `json:"total_money"` //订单总金额(优惠前)
NeedPayMoney string `json:"need_paymoney"` //实际需要支付金额
TotalPriceOff string `json:"total_priceoff"` //总优惠金额
@@ -133,6 +132,9 @@ type GetOrderPriceResp struct {
AddFee string `json:"addfee"` //加价金额
GoodsInsuranceMoney string `json:"goods_insurancemoney"` //商品保价金额
ExpiresIn string `json:"expires_in"` //price_token的过期时间单位
//非必返回
PriceToken string `json:"price_token"` //金额令牌,提交订单前必须先计算价格
BaseRespInfo *BaseRespInfo
}
//发布订单请求体