fix(xunlei):login error
This commit is contained in:
parent
f23bec9a35
commit
5258c21656
@ -211,7 +211,7 @@ func (c *Client) Request(method string, url string, callback func(*resty.Request
|
|||||||
"X-Captcha-Token": c.captchaToken,
|
"X-Captcha-Token": c.captchaToken,
|
||||||
"User-Agent": c.userAgent,
|
"User-Agent": c.userAgent,
|
||||||
"client_id": c.clientID,
|
"client_id": c.clientID,
|
||||||
})
|
}).SetQueryParam("client_id", c.clientID)
|
||||||
if callback != nil {
|
if callback != nil {
|
||||||
callback(req)
|
callback(req)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user