mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2025-12-16 12:23:03 +00:00
parser v10.1.17发布到maven central 允许开发者依赖
1. 添加自定义解析器扩展和相关示例 2. 优化pom结构
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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<>();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 服务配置
|
||||
server:
|
||||
port: 6400
|
||||
port: 6410
|
||||
contextPath: /
|
||||
# 使用数据库
|
||||
enableDatabase: true
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user