diff --git a/business/partner/delivery/mtps/waybill.go b/business/partner/delivery/mtps/waybill.go index b8b4ceddc..551bdf32a 100644 --- a/business/partner/delivery/mtps/waybill.go +++ b/business/partner/delivery/mtps/waybill.go @@ -153,11 +153,12 @@ func (c *DeliveryHandler) calculateOrderDeliveryFee(order *model.GoodsOrder, bil hour, min, sec := billTime.Clock() totalSeconds := hour*3600 + min*60 + sec - if totalSeconds >= 11*3600+30*60 && totalSeconds <= 13*3600 { // 11:30 -- 13:00 - addFee += jxutils.StandardPrice2Int(3) - } else if totalSeconds >= 21*3600 || totalSeconds <= 6*3600 { // 21:00 -- 06:00 + if totalSeconds >= 11*3600 && totalSeconds <= 14*3600 { // 11:00 -- 14:00 addFee += jxutils.StandardPrice2Int(3) } + // else if totalSeconds >= 21*3600 || totalSeconds <= 6*3600 { // 21:00 -- 06:00 + // addFee += jxutils.StandardPrice2Int(3) + // } return deliveryFee + addFee, addFee, nil }