mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-18 05:13:03 +00:00
@@ -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