Update jar
This commit is contained in:
parent
a7da636bf0
commit
3c8db9bc64
|
|
@ -233,7 +233,7 @@ public class API {
|
||||||
JSONObject body = new JSONObject();
|
JSONObject body = new JSONObject();
|
||||||
body.put("code", code);
|
body.put("code", code);
|
||||||
body.put("grant_type", "authorization_code");
|
body.put("grant_type", "authorization_code");
|
||||||
return alist("https://api.nn.ci/alist/ali_open/code", body);
|
return alist("https://api-cf.nn.ci/alist/ali_open/code", body);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
oauth.clean().save();
|
oauth.clean().save();
|
||||||
|
|
@ -248,7 +248,7 @@ public class API {
|
||||||
JSONObject body = new JSONObject();
|
JSONObject body = new JSONObject();
|
||||||
body.put("grant_type", "refresh_token");
|
body.put("grant_type", "refresh_token");
|
||||||
body.put("refresh_token", oauth.getRefreshToken());
|
body.put("refresh_token", oauth.getRefreshToken());
|
||||||
return alist("https://api.nn.ci/alist/ali_open/token", body);
|
return alist("https://api-cf.nn.ci/alist/ali_open/token", body);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
oauth.clean().save();
|
oauth.clean().save();
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
00a226e422e2f3710e784601354aa8c0
|
dec1a7f7a1e979b8f5ff4887dd6da378
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue