Commit e3987bfe by gechengyang

spring4

parent db28984f
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="lib" path="src/main/webapp/WEB-INF/lib/eibs-container-3.5.0.jar"/> <classpathentry kind="lib" path="src/main/webapp/WEB-INF/lib/eibs-container-3.5.0.jar"/>
......
...@@ -2,14 +2,16 @@ ...@@ -2,14 +2,16 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>cn.com.brilliance</groupId> <groupId>cn.com.brilliance</groupId>
<artifactId>business</artifactId> <artifactId>business</artifactId>
<packaging>jar</packaging> <packaging>war</packaging>
<version>1.0.0</version> <version>1.0.0</version>
<name>business</name> <name>business</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- spring版本号 --> <!-- spring版本号 -->
<spring.version>5.1.3.RELEASE</spring.version> <!-- <spring.version>5.1.3.RELEASE</spring.version> -->
<spring.version>4.3.25.RELEASE</spring.version>
</properties> </properties>
<dependencies> <dependencies>
......
...@@ -31,10 +31,9 @@ public class NoUiRequest { ...@@ -31,10 +31,9 @@ public class NoUiRequest {
this.userId = userId; this.userId = userId;
this.terminalType = terminalType; this.terminalType = terminalType;
this.mappingUrl = mappingUrl; this.mappingUrl = mappingUrl;
if(request.getRequestURI().indexOf(NoUiContextManager.openSourcePrefix+"/") >= 0) if (request.getRequestURI().indexOf(NoUiContextManager.openSourcePrefix + "/") >= 0) {
{ this.openSource = true; // 开放访问路径
this.openSource = true; //开放访问路径
} }
if (requestData != null) { if (requestData != null) {
this.paramsMap = (Map<String, ?>) requestData.get(Constants.PARAMS); this.paramsMap = (Map<String, ?>) requestData.get(Constants.PARAMS);
...@@ -49,9 +48,10 @@ public class NoUiRequest { ...@@ -49,9 +48,10 @@ public class NoUiRequest {
} }
} }
public boolean isOpenSource(){ public boolean isOpenSource() {
return this.openSource; return this.openSource;
} }
public String getUserId() { public String getUserId() {
return userId; return userId;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment