+ 添加canOrderCreateWaybillNormally
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user