mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-12-02 01:47:13 +00:00
fix: FjTool parseFileList 中 uuid 参数为 null 时的 NPE
This commit is contained in:
1 parent
dc629a3126
commit
fa4028296f
1 file changed
+4
-1
@@ -456,7 +456,10 @@ public class FjTool extends PanBase {
|
|||||||
// 如果参数里的目录ID不为空,则直接解析目录
|
// 如果参数里的目录ID不为空,则直接解析目录
|
||||||
String dirId = (String) shareLinkInfo.getOtherParam().get("dirId");
|
String dirId = (String) shareLinkInfo.getOtherParam().get("dirId");
|
||||||
if (dirId != null && !dirId.isEmpty()) {
|
if (dirId != null && !dirId.isEmpty()) {
|
||||||
uuid = shareLinkInfo.getOtherParam().get("uuid").toString();
|
Object uuidObj = shareLinkInfo.getOtherParam().get("uuid");
|
||||||
|
if (uuidObj != null) {
|
||||||
|
uuid = uuidObj.toString();
|
||||||
|
}
|
||||||
parserDir(dirId, shareId, promise0);
|
parserDir(dirId, shareId, promise0);
|
||||||
return promise0.future();
|
return promise0.future();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user