From 6ff3975f09e3299f8b18fcb4754dc98769c1df04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Sat, 5 Mar 2022 17:25:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E9=80=81=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E4=BB=A3=E7=A0=8140012?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/delivery/mtps/waybill.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/partner/delivery/mtps/waybill.go b/business/partner/delivery/mtps/waybill.go index 7c6cfcc7b..57d7d4828 100644 --- a/business/partner/delivery/mtps/waybill.go +++ b/business/partner/delivery/mtps/waybill.go @@ -205,7 +205,7 @@ func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInf DeliveryID: time.Now().Unix()*100 + int64(rand.Intn(2)), OrderID: order.VendorOrderID, ShopID: utils.Int2Str(order.StoreID), - DeliveryServiceCode: mtpsapi.DeliveryServiceCodeIntime, + DeliveryServiceCode: mtpsapi.DeliveryServiceCodeRapid, ReceiverName: order.ConsigneeName, ReceiverAddress: order.ConsigneeAddress, ReceiverPhone: order.ConsigneeMobile, @@ -214,7 +214,7 @@ func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInf GoodsValue: utils.Int64ToFloat64(order.ActualPayPrice), GoodsWeight: float64(int(shopWeight*100)) / 100, // 系统重量转换为千克 PayTypeCode: 0, - ExpectedDeliveryTime: 4012, // 4002飞速达,4011快速达,4012及时达,4013集中送 + ExpectedDeliveryTime: mtpsapi.DeliveryServiceCodeRapid, // 4002飞速达,4011快速达,4012及时达,4013集中送 OuterOrderSourceDesc: "101", }) //deliveryFeeInfo.RefDeliveryFee, deliveryFeeInfo.RefAddFee, err = delivery.CalculateOrderDeliveryFee(order, time.Now(), db)