fix(189pc): fix redirect_url format (#420)

This commit is contained in:
Dgs
2025-06-27 15:00:09 +08:00
committed by GitHub
parent d5f4b687bb
commit 14d57ae2ec

View File

@ -322,7 +322,7 @@ func (y *Cloud189PC) login() (err error) {
_, err = y.client.R().
SetResult(&tokenInfo).SetError(&erron).
SetQueryParams(clientSuffix()).
SetQueryParam("redirectURL", url.QueryEscape(loginresp.ToUrl)).
SetQueryParam("redirectURL", loginresp.ToUrl).
Post(API_URL + "/getSessionForPC.action")
if err != nil {
return