This commit is contained in:
parent
d8279de232
commit
3b29b4ef66
|
|
@ -26,9 +26,7 @@ func (v *VoucherBiz) CmbOrder(ctx context.Context, request *v1.CmbRequest) (*v1.
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = v.bbToWx(ctx, order, reply); err != nil {
|
_ = v.bbToWx(ctx, order, reply)
|
||||||
log.Errorf("处理请求kg报错:%s", err.Error())
|
|
||||||
}
|
|
||||||
|
|
||||||
return reply, nil
|
return reply, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ func (this *KxMixRepoImpl) Request(ctx context.Context, req *kog.Notice) error {
|
||||||
|
|
||||||
_, bodyBytes, err := request.POST(ctx, url, body, this.options)
|
_, bodyBytes, err := request.POST(ctx, url, body, this.options)
|
||||||
if err != nil {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue