This commit is contained in:
邹宗楠
2024-01-22 18:23:46 +08:00
parent 52d575e5d5
commit 38bb7f32dc

View File

@@ -367,6 +367,8 @@ func (c *DeliveryHandler) CreateWaybill(order *model.GoodsOrder, maxDeliveryFee
return nil, err
}
globals.SugarLogger.Debugf("===========CallCreateWaybillPolicy=== := %d", maxDeliveryFee)
globals.SugarLogger.Debugf("===========waybillList[0].ActualFee=== := %d", waybillList[0].ActualFee)
// 检查两天内是否有订单
var result *dadaapi.CreateOrderResponse
if len(waybillList) > 0 && waybillList[0].Status != model.WaybillStatusFailed {