Commit e3987bfe by gechengyang

spring4

parent db28984f
......@@ -25,7 +25,6 @@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="src/main/webapp/WEB-INF/lib/eibs-container-3.5.0.jar"/>
......
......@@ -2,14 +2,16 @@
<modelVersion>4.0.0</modelVersion>
<groupId>cn.com.brilliance</groupId>
<artifactId>business</artifactId>
<packaging>jar</packaging>
<packaging>war</packaging>
<version>1.0.0</version>
<name>business</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- 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>
<dependencies>
......
......@@ -32,9 +32,8 @@ public class NoUiRequest {
this.terminalType = terminalType;
this.mappingUrl = mappingUrl;
if(request.getRequestURI().indexOf(NoUiContextManager.openSourcePrefix+"/") >= 0)
{
this.openSource = true; //开放访问路径
if (request.getRequestURI().indexOf(NoUiContextManager.openSourcePrefix + "/") >= 0) {
this.openSource = true; // 开放访问路径
}
if (requestData != null) {
this.paramsMap = (Map<String, ?>) requestData.get(Constants.PARAMS);
......@@ -49,9 +48,10 @@ public class NoUiRequest {
}
}
public boolean isOpenSource(){
public boolean isOpenSource() {
return this.openSource;
}
public String getUserId() {
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