mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-07-19 01:48:42 +08:00
fix(189pc): fix redirect_url format (#420)
This commit is contained in:
@ -322,7 +322,7 @@ func (y *Cloud189PC) login() (err error) {
|
|||||||
_, err = y.client.R().
|
_, err = y.client.R().
|
||||||
SetResult(&tokenInfo).SetError(&erron).
|
SetResult(&tokenInfo).SetError(&erron).
|
||||||
SetQueryParams(clientSuffix()).
|
SetQueryParams(clientSuffix()).
|
||||||
SetQueryParam("redirectURL", url.QueryEscape(loginresp.ToUrl)).
|
SetQueryParam("redirectURL", loginresp.ToUrl).
|
||||||
Post(API_URL + "/getSessionForPC.action")
|
Post(API_URL + "/getSessionForPC.action")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user