mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-12-02 09:53:59 +00:00
1 parent
add27186bc
commit
a82596dc70
24 files changed
+229
-46
No files matched your search
@@ -32,6 +32,7 @@ public class CacheConfigLoader {
|
||||
return CONFIGS.get(pdt.name().toLowerCase());
|
||||
}
|
||||
public static Integer getDuration(String type) {
|
||||
return CONFIGS.get(type.toLowerCase());
|
||||
String key = type.toLowerCase();
|
||||
return CONFIGS.getOrDefault(key, -1);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user