🐛 fix 189 logged in but get error

This commit is contained in:
微凉 2022-01-08 17:19:11 +08:00
parent be03e34406
commit 86ff80885d

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()