chang code

This commit is contained in:
ziming 2025-05-23 10:42:40 +08:00
parent 8daa814b8d
commit 9f2e438ab6
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ func (this *KxMixRepoImpl) Request(ctx context.Context, req *kog.Notice) error {
start := time.Now() start := time.Now()
_, 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发生错误,耗时:%s,url:%s,reqBody:%s,respBody:%s,err:%v", time.Now().Sub(start).String(), url, string(body), string(bodyBytes), err) log.Errorf("请求kx发生错误,耗时:%s,url:%s,reqBody:%s,respBody:%s,err:%v",
time.Now().Sub(start).String(), url, string(body), string(bodyBytes), err)
return err return err
} }