添加日志

This commit is contained in:
邹宗楠
2022-03-04 11:59:46 +08:00
parent 67017693e4
commit 24d7973951

View File

@@ -269,6 +269,8 @@ 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)
if err != nil {
globals.SugarLogger.Debugf("CreateWaybill failed, orderID:%s, billParams:%v, error:%v", order.VendorOrderID, billParams, err)
return nil, err