diff --git a/internal/service/notify.go b/internal/service/notify.go index e56c03c..2222ece 100644 --- a/internal/service/notify.go +++ b/internal/service/notify.go @@ -71,7 +71,7 @@ func (srv *NotifyService) Notify(ctx http.Context) error { if err = srv.VoucherBiz.WechatNotifyConsumer(ctx, ip, response); err != nil { headerJson, _ := json.Marshal(headers) - log.Errorf("微信回调通知[%s],Consumer处理失败,headers:%s,body:%s,解析数据:%+v,err:%s", mchId, headerJson, string(bodyBytes), response, err.Error()) + log.Errorf("微信回调通知[%s],Consumer处理失败,headers:%s,body:%s\n解析数据:%+v,err:%s", mchId, headerJson, string(bodyBytes), response, err.Error()) return ctx.JSON(http2.StatusBadRequest, map[string]string{ "code": "FAIL",