添加日志打印

This commit is contained in:
邹宗楠
2022-03-04 14:11:23 +08:00
parent 24d7973951
commit b998584e33

View File

@@ -269,8 +269,10 @@ func (c *DeliveryHandler) CreateWaybill(order *model.GoodsOrder, maxDeliveryFee
result, err := api.MtpsAPI.CreateOrderByShop2(billParams)
globals.SugarLogger.Info("输出美团配送费用:=====================111", utils.Float64TwoInt64(result.DeliveryFee))
globals.SugarLogger.Info("输出美团配送费用:=====================err", err)
globals.SugarLogger.Debugf("输出美团配送费用:=====================111", utils.Float64TwoInt64(result.DeliveryFee))
globals.SugarLogger.Debugf("输出美团配送费用:=====================err", err)
globals.SugarLogger.Debugf("输出美团配送费用:=====================111[%d]", utils.Float64TwoInt64(result.DeliveryFee))
globals.SugarLogger.Debugf("输出美团配送费用:=====================err[%s]", err)
globals.SugarLogger.Debug("输出美团配送费用:=====================err[%s]", err)
globals.SugarLogger.Debug("输出美团配送费用:=====================err[%s]", utils.Float64TwoInt64(result.DeliveryFee))
if err != nil {
globals.SugarLogger.Debugf("CreateWaybill failed, orderID:%s, billParams:%v, error:%v", order.VendorOrderID, billParams, err)
return nil, err