parser v10.1.17发布到maven central 允许开发者依赖

1. 添加自定义解析器扩展和相关示例
2. 优化pom结构
This commit is contained in:
q
2025-10-17 15:50:45 +08:00
parent c16bde6bb8
commit 5e09b8e92a
33 changed files with 2421 additions and 93 deletions

View File

@@ -69,10 +69,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.13.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<release>${java.version}</release>
<!-- 代码生成器 -->
<annotationProcessors>
<annotationProcessor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</annotationProcessor>

View File

@@ -7,7 +7,7 @@ import java.util.Map;
/**
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2024/9/12 7:38
* Create at 2024/9/12 7:38
*/
public class CacheConfigLoader {
private static final Map<String, Integer> CONFIGS = new HashMap<>();

View File

@@ -16,7 +16,7 @@ import java.nio.charset.StandardCharsets;
* 处理URL截断问题拼接被截断的参数特殊处理pwd参数。
*
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2024/9/13
* Create at 2024/9/13
*/
public class URLParamUtil {

View File

@@ -10,7 +10,7 @@ import lombok.NoArgsConstructor;
/**
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2024/9/11 16:06
* Create at 2024/9/11 16:06
*/
@Table(value = "api_statistics_info", keyFields = "share_key")
@Data

View File

@@ -14,7 +14,7 @@ import lombok.NoArgsConstructor;
/**
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2024/9/11 16:06
* Create at 2024/9/11 16:06
*/
@Table(value = "cache_link_info", keyFields = "share_key")
@Data

View File

@@ -11,7 +11,7 @@ import lombok.NoArgsConstructor;
/**
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2025/8/4 12:38
* Create at 2025/8/4 12:38
*/
@Table(keyFields = "share_key")
@DataObject

View File

@@ -8,7 +8,7 @@ import io.vertx.core.json.JsonObject;
/**
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2024/9/12 8:26
* Create at 2024/9/12 8:26
*/
@ProxyGen
public interface CacheService extends BaseAsyncService {

View File

@@ -1,6 +1,6 @@
# 服务配置
server:
port: 6400
port: 6410
contextPath: /
# 使用数据库
enableDatabase: true

View File

@@ -2,7 +2,7 @@
server-name: Vert.x-proxy-server(v4.1.2)
proxy:
- listen: 6401
- listen: 6411
# 404的路径
page404: webroot/err/404.html
static:
@@ -15,14 +15,14 @@ proxy:
# 1.origin代理地址端口后有目录(包括 / ),转发后地址:代理地址+访问URL目录部分去除location匹配目录
# 2.origin代理地址端口后无任何转发后地址代理地址+访问URL目录部
location:
- path: ~^/(json/|v2/|d/|parser|ye/|lz/|cow/|ec/|fj/|fc/|le/|qq/|ws/|iz/|ce/).*
origin: 127.0.0.1:6400
- path: ~^/(json|v2|d|parser|ye|lz|cow|ec|fj|fc|le|qq|ws|iz|ce)/.*
origin: 127.0.0.1:6410
# json/parser -> xxx/parser
# - path: /json/
# origin: 127.0.0.1:6400/
- path: /n1/
origin: 127.0.0.1:6400/v2/
origin: 127.0.0.1:6410/v2/
# # SSL HTTPS配置
ssl:

View File

@@ -9,7 +9,7 @@ import java.io.IOException;
/**
* @author <a href="https://qaiu.top">QAIU</a>
* @date 2023/7/29 17:15
* Create at 2023/7/29 17:15
*/
public class TestJs {