mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-06-10 23:47:29 +00:00
fix: FjTool parseFileList 中 uuid 参数为 null 时的 NPE
This commit is contained in:
@@ -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