🐛 fix 189 logged in but get error

pull/548/head
微凉 2022-01-08 17:19:11 +08:00
parent be03e34406
commit 86ff80885d
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func (driver Cloud189) Login(account *model.Account) error {
return err
}
// 已经登陆
if res.StatusCode() == 302 {
if res.RawResponse.Request.URL.String() == "https://cloud.189.cn/web/main" {
return nil
}
b = res.String()