This commit is contained in:
parent
86142caad1
commit
fee0786d68
|
|
@ -49,11 +49,9 @@ 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,body:%s,err:%v", url, string(body), err)
|
log.Errorf("请求kx,url:%s,reqBody:%s,respBody:%s", url, string(body), string(bodyBytes))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Warnf("请求kx,url:%s,reqBody:%s,respBody:%s", url, string(body), string(bodyBytes))
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue