Clean code
This commit is contained in:
parent
fde087f1be
commit
095b33a51d
|
|
@ -359,7 +359,7 @@ public class API {
|
||||||
body.put("file_id", fileId);
|
body.put("file_id", fileId);
|
||||||
body.put("drive_id", auth.getDriveId());
|
body.put("drive_id", auth.getDriveId());
|
||||||
String url = new JSONObject(authOpen("https://open.aliyundrive.com/adrive/v1.0/openFile/getDownloadUrl", body.toString(), true)).optString("url");
|
String url = new JSONObject(authOpen("https://open.aliyundrive.com/adrive/v1.0/openFile/getDownloadUrl", body.toString(), true)).optString("url");
|
||||||
delete(fileId);
|
Init.execute(() -> delete(fileId));
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
45d9462277175c390ccab72992b8c917
|
df10e61cf95ea6a8507162d0c9e9063f
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue