Skip to content

Commit f6f8869

Browse files
committed
添加调用参数日志
1 parent 3f333a2 commit f6f8869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (c HTTPClient) PostJSON(url string, headers map[string]string, data interfa
171171
return errors.Trace(err)
172172
}
173173

174-
c.logger.Debugf("url:%v, resp:%s", url, buf)
174+
c.logger.Debugf("url:%v, req:%+v, resp:%s", url, data, buf)
175175
return json.Unmarshal(buf, resp)
176176
}
177177

0 commit comments

Comments
 (0)