Update ali
This commit is contained in:
parent
5d1dd76f06
commit
3f39fe79d7
|
|
@ -177,6 +177,8 @@ public class Ali {
|
||||||
body.put("grant_type", "refresh_token");
|
body.put("grant_type", "refresh_token");
|
||||||
JSONObject object = new JSONObject(post("https://auth.aliyundrive.com/v2/account/token", body));
|
JSONObject object = new JSONObject(post("https://auth.aliyundrive.com/v2/account/token", body));
|
||||||
accessToken = object.getString("token_type") + " " + object.getString("access_token");
|
accessToken = object.getString("token_type") + " " + object.getString("access_token");
|
||||||
|
refreshToken = object.getString("refresh_token");
|
||||||
|
Prefers.put("token", refreshToken);
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
accessToken = null;
|
accessToken = null;
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
cc2b0b7bef842b7a62cc722704abb70f
|
c9e6da557fc51082b490f840b865b597
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;cc2b0b7bef842b7a62cc722704abb70f",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;c9e6da557fc51082b490f840b865b597",
|
||||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;cc2b0b7bef842b7a62cc722704abb70f",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;c9e6da557fc51082b490f840b865b597",
|
||||||
"wallpaper": "http://www.kf666888.cn/api/tvbox/img",
|
"wallpaper": "http://www.kf666888.cn/api/tvbox/img",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue