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

This commit is contained in:
q
2025-10-16 18:08:03 +08:00
parent eb06eb9f3d
commit c16bde6bb8
9 changed files with 642 additions and 101 deletions

View File

@@ -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);