fix(xunlei):login error

This commit is contained in:
foxxorcat 2022-05-08 13:36:36 +08:00
parent f23bec9a35
commit 5258c21656

View File

@ -211,7 +211,7 @@ func (c *Client) Request(method string, url string, callback func(*resty.Request
"X-Captcha-Token": c.captchaToken,
"User-Agent": c.userAgent,
"client_id": c.clientID,
})
}).SetQueryParam("client_id", c.clientID)
if callback != nil {
callback(req)
}