修改配送服务代码40012
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user