1
This commit is contained in:
@@ -156,12 +156,12 @@ func (w *OrderManager) OnWaybillStatusChanged(bill *model.Waybill) (err error) {
|
|||||||
if bill.ActualFee > 0 {
|
if bill.ActualFee > 0 {
|
||||||
addParams["actual_fee"] = bill.ActualFee
|
addParams["actual_fee"] = bill.ActualFee
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//单独增加顺丰派送取消运单修改配送费逻辑
|
//单独增加顺丰派送取消运单修改配送费逻辑
|
||||||
if bill.Status == model.WaybillStatusCanceled && bill.WaybillVendorID == model.VendorIDSFPS {
|
if bill.WaybillVendorID == model.VendorIDSFPS && bill.Status == model.WaybillStatusCanceled {
|
||||||
addParams["desired_fee"] = bill.DesiredFee
|
addParams["desired_fee"] = bill.DesiredFee
|
||||||
addParams["actual_fee"] = bill.ActualFee
|
addParams["actual_fee"] = bill.ActualFee
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if bill.CourierMobile != "" {
|
if bill.CourierMobile != "" {
|
||||||
addParams["courier_name"] = bill.CourierName
|
addParams["courier_name"] = bill.CourierName
|
||||||
addParams["courier_mobile"] = bill.CourierMobile
|
addParams["courier_mobile"] = bill.CourierMobile
|
||||||
|
|||||||
Reference in New Issue
Block a user