diff --git a/business/partner/delivery/mtps/waybill.go b/business/partner/delivery/mtps/waybill.go index 732423380..6f4cfa946 100644 --- a/business/partner/delivery/mtps/waybill.go +++ b/business/partner/delivery/mtps/waybill.go @@ -86,7 +86,6 @@ func (c *DeliveryHandler) OnWaybillExcept(msg *mtpsapi.CallbackOrderExceptionMsg return retVal } -// 计算有问题 todo func (c *DeliveryHandler) onWaybillMsg(msg *mtpsapi.CallbackOrderMsg) (retVal *mtpsapi.CallbackResponse) { order := c.callbackMsg2Waybill(msg) switch msg.Status { @@ -219,7 +218,7 @@ func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInf ReceiverPhone: order.ConsigneeMobile, ReceiverLng: order.ConsigneeLng, ReceiverLat: order.ConsigneeLat, - GoodsValue: utils.Int64ToFloat64(order.ActualPayPrice), + GoodsValue: utils.Int64ToFloat64(order.ActualPayPrice) / 100, GoodsWeight: float64(int(shopWeight*100)) / 100, // 系统重量转换为千克 PayTypeCode: 0, ExpectedDeliveryTime: mtpsapi.DeliveryServiceCodeRapid, // 4002飞速达,4011快速达,4012及时达,4013集中送 diff --git a/business/partner/purchase/jx/phpjx/jxapi_order.go b/business/partner/purchase/jx/phpjx/jxapi_order.go index ef2befb2f..911d249c5 100644 --- a/business/partner/purchase/jx/phpjx/jxapi_order.go +++ b/business/partner/purchase/jx/phpjx/jxapi_order.go @@ -42,4 +42,3 @@ func (a *API) NotifyAfsOrderStatusChanged(afsOrder *model.AfsOrder) (err error) } return err } -