Commit 8f47a257 authored by Administrator's avatar Administrator

Update client.go

parent 94d97c50
...@@ -197,7 +197,7 @@ func (c *client) PostWithProxy(ctx *context.UlfsaarContext, path, ip, port, user ...@@ -197,7 +197,7 @@ func (c *client) PostWithProxy(ctx *context.UlfsaarContext, path, ip, port, user
} }
func (c *client) Post(ctx *context.UlfsaarContext, path string, headers http.Header, payload interface{}) (respHeader http.Header, statusCode int, body []byte, err error) { func (c *client) Post(ctx *context.UlfsaarContext, path string, headers http.Header, payload interface{}) (respHeader http.Header, statusCode int, body []byte, err error) {
url := c.options.Address + path url := path // c.options.Address + path
startTime := time.Now() startTime := time.Now()
request := c.httpClient.R() request := c.httpClient.R()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment