ali will check quota and clean token

This commit is contained in:
FongMi 2023-04-04 22:11:43 +08:00
parent 138e622365
commit 5343334ca1
3 changed files with 4 additions and 3 deletions

View File

@ -147,8 +147,9 @@ public class API {
private boolean checkQuotaExhausted(String result) { private boolean checkQuotaExhausted(String result) {
if (!result.contains("QuotaExhausted")) return false; if (!result.contains("QuotaExhausted")) return false;
Init.show("容量不夠拉,趕快清一清。"); Init.show("容量不夠拉。");
auth.clean(); auth.setRefreshToken("");
refreshAccessToken();
return false; return false;
} }

Binary file not shown.

View File

@ -1 +1 @@
4a4931a4faa85b0fd02acc98e38f3bab debd4cf545c08d546b477c80319b9ad0