Update
This commit is contained in:
parent
de6ccf9e82
commit
b4de4eed1e
|
|
@ -130,7 +130,7 @@ public class AList extends Spider {
|
||||||
private Item getDetail(String id) {
|
private Item getDetail(String id) {
|
||||||
try {
|
try {
|
||||||
String key = id.contains("/") ? id.substring(0, id.indexOf("/")) : id;
|
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);
|
Drive drive = getDrive(key);
|
||||||
JSONObject params = new JSONObject();
|
JSONObject params = new JSONObject();
|
||||||
params.put("path", path);
|
params.put("path", path);
|
||||||
|
|
@ -145,7 +145,7 @@ public class AList extends Spider {
|
||||||
private List<Item> getList(String id, boolean filter) {
|
private List<Item> getList(String id, boolean filter) {
|
||||||
try {
|
try {
|
||||||
String key = id.contains("/") ? id.substring(0, id.indexOf("/")) : id;
|
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);
|
Drive drive = getDrive(key);
|
||||||
JSONObject params = new JSONObject();
|
JSONObject params = new JSONObject();
|
||||||
params.put("path", path);
|
params.put("path", path);
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
94c24a6fc84d232c2b32894d5e0d042c
|
a6b119b4d3bbb3efdf4c373e76305239
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue