mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-08 08:57:40 +08:00
feat: 增加日志
This commit is contained in:
@@ -485,6 +485,7 @@ func (w *WingsService) callWingsAPI(ctx context.Context, request WingsActionRequ
|
|||||||
httpReq.Header.Add("Agw-Auth-Content", signToken)
|
httpReq.Header.Add("Agw-Auth-Content", signToken)
|
||||||
httpReq.Header.Add("Content-Type", "application/json")
|
httpReq.Header.Add("Content-Type", "application/json")
|
||||||
}
|
}
|
||||||
|
log.Info().Str("request", string(requestBody)).Str("url", w.apiURL).Msg("call wings api")
|
||||||
|
|
||||||
// Execute HTTP request
|
// Execute HTTP request
|
||||||
client := &http.Client{
|
client := &http.Client{
|
||||||
|
|||||||
Reference in New Issue
Block a user