ali will check quota and clean token

This commit is contained in:
FongMi 2023-04-04 22:11:43 +08:00
parent 2e66025f4a
commit cc2a56bcf1
5 changed files with 6 additions and 5 deletions

View File

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

Binary file not shown.

View File

@ -1 +1 @@
4a4931a4faa85b0fd02acc98e38f3bab
debd4cf545c08d546b477c80319b9ad0

View File

@ -1,5 +1,5 @@
{
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;4a4931a4faa85b0fd02acc98e38f3bab",
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;debd4cf545c08d546b477c80319b9ad0",
"wallpaper": "https://gao.chuqiuyu.tk",
"sites": [
{

View File

@ -1,5 +1,5 @@
{
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;4a4931a4faa85b0fd02acc98e38f3bab",
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;debd4cf545c08d546b477c80319b9ad0",
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
"sites": [
{