蜂鸟加四毛,下载excel违约金加在运费上

This commit is contained in:
邹宗楠
2023-05-26 14:01:25 +08:00
parent 825216e9f9
commit ae0e50926d
9 changed files with 49 additions and 14 deletions

View File

@@ -344,10 +344,10 @@ func (c *DeliveryHandler) OnWaybillExcept(msg *fnpsapi.AbnormalReportNotify) (re
return retVal
}
// 查询订单配送费
// 查询订单配送费(蜂鸟加4毛)
func GetDesiredFee(vendorOrderID string) (desiredFee, acuteFee int64) {
if result, err := api.FnAPI.QueryOrder(vendorOrderID); err == nil {
return result.OrderTotalAmountCent + int64(utils.WayBillDeliveryMarkUp), result.OrderActualAmountCent
return result.OrderTotalAmountCent, result.OrderActualAmountCent
}
return desiredFee, acuteFee
}
@@ -473,3 +473,7 @@ func (c *DeliveryHandler) GetDeliverLiquidatedDamages(orderId string, deliverId
}
return vendorPrice, nil
}
func (c *DeliveryHandler) UpdateStoreName(storeId, name string) (err error) {
return err
}