1
This commit is contained in:
@@ -168,6 +168,12 @@ func (c *DeliveryHandler) GetWaybillFee(order *model.GoodsOrder) (deliveryFeeInf
|
||||
GoodsItemList: nil,
|
||||
OutShopCode: utils.Int2Str(order.JxStoreID),
|
||||
}
|
||||
// 重量超标减少配送费
|
||||
weight := 5.000
|
||||
if utils.Int2Float64(order.Weight)/1000 >= weight {
|
||||
preCreateOrder.GoodsWeight = weight
|
||||
}
|
||||
|
||||
var goodsList []*fnpsapi.GoodsItemsList
|
||||
for _, v := range order.Skus {
|
||||
goodsList = append(goodsList, &fnpsapi.GoodsItemsList{
|
||||
|
||||
Reference in New Issue
Block a user