Browse Source

提交:11

mine
袁强 5 months ago
parent
commit
098d51a384
  1. 2
      pom.xml
  2. 2
      yq-framework/src/main/java/yq/framework/config/ServerConfig.java
  3. 2
      yq-system/pom.xml

2
pom.xml

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>yq</groupId>
<artifactId>yq_0bject_detection</artifactId>
<artifactId>yq</artifactId>
<version>3.8.6</version>
<name>yq_0bject_detection</name>

2
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();
}
}

2
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">
<parent>
<groupId>yq</groupId>
<artifactId>yq_0bject_detection</artifactId>
<artifactId>yq</artifactId>
<version>3.8.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Loading…
Cancel
Save