Fix ali
This commit is contained in:
parent
d49075e19c
commit
c8d351b661
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
b43f60b1459104200b5f30007df2b306
|
a3a0ad16814a815fdad26b236cdd5a05
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;b43f60b1459104200b5f30007df2b306",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a3a0ad16814a815fdad26b236cdd5a05",
|
||||||
"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;b43f60b1459104200b5f30007df2b306",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a3a0ad16814a815fdad26b236cdd5a05",
|
||||||
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
"wallpaper": "http://饭太硬.ga/深色壁纸/api.php",
|
||||||
"sites": [
|
"sites": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue