mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-25 20:52:11 +08:00
feat: log
This commit is contained in:
parent
a6827dc269
commit
bf82f63bf7
@ -185,12 +185,12 @@ func (g *Client) postReturn(
|
|||||||
output RespI,
|
output RespI,
|
||||||
timeout int,
|
timeout int,
|
||||||
) error {
|
) error {
|
||||||
log.ZDebug(ctx, "url:", url, "header:", header, "input:", input, "timeout:", timeout)
|
log.ZDebug(ctx, "postReturn", "url:", url, "header:", header, "input:", input, "timeout:", timeout)
|
||||||
err := g.httpClient.PostReturn(ctx, url, header, input, output, timeout)
|
err := g.httpClient.PostReturn(ctx, url, header, input, output, timeout)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.ZDebug(ctx, "output:", output)
|
log.ZDebug(ctx, "postReturn", "output:", output)
|
||||||
return output.parseError()
|
return output.parseError()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user