This commit is contained in:
FongMi 2022-12-21 21:52:18 +08:00
parent de6ccf9e82
commit b4de4eed1e
3 changed files with 3 additions and 3 deletions

View File

@ -130,7 +130,7 @@ public class AList extends Spider {
private Item getDetail(String id) {
try {
String key = id.contains("/") ? id.substring(0, id.indexOf("/")) : id;
String path = id.contains("/") ? id.substring(id.indexOf("/") + 1) : "";
String path = id.contains("/") ? id.substring(id.indexOf("/")) : "";
Drive drive = getDrive(key);
JSONObject params = new JSONObject();
params.put("path", path);
@ -145,7 +145,7 @@ public class AList extends Spider {
private List<Item> getList(String id, boolean filter) {
try {
String key = id.contains("/") ? id.substring(0, id.indexOf("/")) : id;
String path = id.contains("/") ? id.substring(id.indexOf("/") + 1) : "";
String path = id.contains("/") ? id.substring(id.indexOf("/")) : "";
Drive drive = getDrive(key);
JSONObject params = new JSONObject();
params.put("path", path);

Binary file not shown.

View File

@ -1 +1 @@
94c24a6fc84d232c2b32894d5e0d042c
a6b119b4d3bbb3efdf4c373e76305239