feat: 增加日志

This commit is contained in:
余泓铮
2025-07-28 20:13:01 +08:00
parent 92844c14e3
commit 9611e92dcc

View File

@@ -485,6 +485,7 @@ func (w *WingsService) callWingsAPI(ctx context.Context, request WingsActionRequ
httpReq.Header.Add("Agw-Auth-Content", signToken)
httpReq.Header.Add("Content-Type", "application/json")
}
log.Info().Str("request", string(requestBody)).Str("url", w.apiURL).Msg("call wings api")
// Execute HTTP request
client := &http.Client{