This commit is contained in:
FongMi 2023-04-06 18:57:58 +08:00
parent 25526b38a6
commit f68bd69c8b
3 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ public class API {
String result = post("https://auth.aliyundrive.com/v2/account/token", body); String result = post("https://auth.aliyundrive.com/v2/account/token", body);
user = User.objectFrom(result).save(); user = User.objectFrom(result).save();
if (user.getAccessToken().isEmpty()) throw new Exception(result); if (user.getAccessToken().isEmpty()) throw new Exception(result);
if (oauth.getRefreshToken().isEmpty()) oauthRequest(); oauthRequest();
return true; return true;
} catch (Exception e) { } catch (Exception e) {
user.clean().save(); user.clean().save();

Binary file not shown.

View File

@ -1 +1 @@
b43f60b1459104200b5f30007df2b306 a3a0ad16814a815fdad26b236cdd5a05