Update ali

This commit is contained in:
FongMi 2022-11-28 22:13:32 +08:00
parent 768980f706
commit 6c37f413ca
3 changed files with 3 additions and 1 deletions

View File

@ -177,6 +177,8 @@ public class Ali {
body.put("grant_type", "refresh_token");
JSONObject object = new JSONObject(post("https://auth.aliyundrive.com/v2/account/token", body));
accessToken = object.getString("token_type") + " " + object.getString("access_token");
refreshToken = object.getString("refresh_token");
Prefers.put("token", refreshToken);
} catch (JSONException e) {
accessToken = null;
e.printStackTrace();

Binary file not shown.

View File

@ -1 +1 @@
cc2b0b7bef842b7a62cc722704abb70f
c9e6da557fc51082b490f840b865b597