parser发布到maven central方便开发者依赖, pom文件结构调整

This commit is contained in:
q committed 2025-10-16 18:08:03 +08:00
1 parent 684e8d4c84
commit c61ba45d59
9 files changed
+642 -101

No files matched your search

@@ -1,6 +1,5 @@
package cn.qaiu.lz.common.cache;
import cn.qaiu.parser.PanDomainTemplate;
import io.vertx.core.json.JsonObject;
import java.util.HashMap;
@@ -30,9 +29,6 @@ public class CacheConfigLoader {
});
}
public static Integer getDuration(PanDomainTemplate pdt) {
return CONFIGS.get(pdt.name().toLowerCase());
}
public static Integer getDuration(String type) {
String key = type.toLowerCase();
return CONFIGS.getOrDefault(key, -1);