1
This commit is contained in:
@@ -223,6 +223,7 @@ func (c *BaseScheduler) CreateWaybill(platformVendorID int, order *model.GoodsOr
|
||||
if c.IsReallyCallPlatformAPI {
|
||||
// 美团配送订单生成,配送费计算
|
||||
bill, err = handlerInfo.Handler.CreateWaybill(order, maxDeliveryFee)
|
||||
globals.SugarLogger.Debugf("====================bill %s", utils.Format4Output(bill, false))
|
||||
if err != nil {
|
||||
globals.SugarLogger.Infof("CreateWaybill failed orderID:%s vendorID:%d with error:%v", order.VendorOrderID, platformVendorID, err)
|
||||
} else {
|
||||
|
||||
@@ -362,9 +362,6 @@ func (c *DeliveryHandler) CreateWaybill(order *model.GoodsOrder, maxDeliveryFee
|
||||
|
||||
// 通知美团订单,获取返回订单配送费
|
||||
result, err := api.MtpsAPI.CreateOrderByShop2(billParams)
|
||||
globals.SugarLogger.Debugf("=========resutl %s", utils.Format4Output(result, false))
|
||||
globals.SugarLogger.Debugf("=========errr %s", utils.Format4Output(err, false))
|
||||
globals.SugarLogger.Debugf("=========order %s", utils.Format4Output(order, false))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user