From 098d51a384f4ef36a728442d258e27263a29d271 Mon Sep 17 00:00:00 2001 From: yq183 <645046984@qq.com> Date: Fri, 24 Jan 2025 13:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=9A11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../src/main/java/yq/framework/config/ServerConfig.java | 2 +- yq-system/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 4b27c63..02168e0 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 yq - yq_0bject_detection + yq 3.8.6 yq_0bject_detection diff --git a/yq-framework/src/main/java/yq/framework/config/ServerConfig.java b/yq-framework/src/main/java/yq/framework/config/ServerConfig.java index 79da06b..0ea39c3 100644 --- a/yq-framework/src/main/java/yq/framework/config/ServerConfig.java +++ b/yq-framework/src/main/java/yq/framework/config/ServerConfig.java @@ -27,6 +27,6 @@ public class ServerConfig { StringBuffer url = request.getRequestURL(); String contextPath = request.getServletContext().getContextPath(); - return url.delete(url.length() - request.getRequestURI().length(), url.length()).append(contextPath).toString(); + return url.delete(url.length() - request.getRequestURI().length(), url.length()).append(":"+request.getLocalPort()).append(contextPath).toString(); } } diff --git a/yq-system/pom.xml b/yq-system/pom.xml index cf9ae7b..1365af4 100644 --- a/yq-system/pom.xml +++ b/yq-system/pom.xml @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> yq - yq_0bject_detection + yq 3.8.6 4.0.0