ali will check quota and clean token
This commit is contained in:
parent
2e66025f4a
commit
cc2a56bcf1
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
4a4931a4faa85b0fd02acc98e38f3bab
|
debd4cf545c08d546b477c80319b9ad0
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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",
|
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue