+ 添加canOrderCreateWaybillNormally

This commit is contained in:
gazebo
2019-03-30 18:32:13 +08:00
parent 8ff383410b
commit 12781c14be
6 changed files with 4 additions and 33 deletions

View File

@@ -50,8 +50,8 @@ func CallCreateWaybillPolicy(policy partner.CreateWaybillPolicy, refDeliveryFee,
}
if errStr := policy(deliveryFee, deliveryFee, addFee); errStr != "" {
waybillVendorName := jxutils.GetVendorName(waybillVendorID)
errStr = fmt.Sprintf("oderID:%s在平台:%s创建运单出错:%s", order.VendorOrderID, waybillVendorName, errStr)
globals.SugarLogger.Debugf("%s CreateWaybill failed with %s", waybillVendorName, errStr)
errStr = fmt.Sprintf("oderID:%s创建运单出错:%s", order.VendorOrderID, errStr)
globals.SugarLogger.Debugf("%s CallCreateWaybillPolicy failed with %s", waybillVendorName, errStr)
return errors.New(errStr)
}
return nil