diff --git a/internal/biz/order.go b/internal/biz/order.go index 4791ead..76fc476 100644 --- a/internal/biz/order.go +++ b/internal/biz/order.go @@ -26,9 +26,7 @@ func (v *VoucherBiz) CmbOrder(ctx context.Context, request *v1.CmbRequest) (*v1. return nil, err } - if err = v.bbToWx(ctx, order, reply); err != nil { - log.Errorf("处理请求kg报错:%s", err.Error()) - } + _ = v.bbToWx(ctx, order, reply) return reply, nil } diff --git a/internal/data/mixrepoimpl/kx.go b/internal/data/mixrepoimpl/kx.go index 0691f54..04a0400 100644 --- a/internal/data/mixrepoimpl/kx.go +++ b/internal/data/mixrepoimpl/kx.go @@ -52,7 +52,7 @@ func (this *KxMixRepoImpl) Request(ctx context.Context, req *kog.Notice) error { _, bodyBytes, err := request.POST(ctx, url, body, this.options) if err != nil { - log.Errorf("请求kx,url:%s,reqBody:%s,respBody:%s", url, string(body), string(bodyBytes)) + log.Errorf("请求kx,url:%s,reqBody:%s,respBody:%s,err:%v", url, string(body), string(bodyBytes), err) return nil }