- 达达运单在创建时就记录费用信息
This commit is contained in:
@@ -97,9 +97,9 @@ func (w *OrderManager) OnWaybillStatusChanged(bill *model.Waybill) (err error) {
|
||||
} else {
|
||||
addParams := orm.Params{}
|
||||
if bill.Status >= model.WaybillStatusAccepted && bill.Status < model.WaybillStatusEndBegin {
|
||||
if bill.Status == model.WaybillStatusAccepted {
|
||||
addParams["desired_fee"] = bill.DesiredFee
|
||||
}
|
||||
// if bill.Status == model.WaybillStatusAccepted {
|
||||
// addParams["desired_fee"] = bill.DesiredFee
|
||||
// }
|
||||
if bill.CourierMobile != "" {
|
||||
addParams["courier_name"] = bill.CourierName
|
||||
addParams["courier_mobile"] = bill.CourierMobile
|
||||
|
||||
Reference in New Issue
Block a user