Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-enterprise-base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-enterprise-base
Commits
a2dd7ee9
Commit
a2dd7ee9
authored
Sep 22, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拦截过滤
parent
ef7b4b7c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
web-common-spring.xml
...nterprise-common/src/main/resources/web-common-spring.xml
+16
-4
No files found.
gic-enterprise-common/src/main/resources/web-common-spring.xml
View file @
a2dd7ee9
...
@@ -4,16 +4,28 @@
...
@@ -4,16 +4,28 @@
xmlns:aop=
"http://www.springframework.org/schema/aop"
xmlns:aop=
"http://www.springframework.org/schema/aop"
xmlns:context=
"http://www.springframework.org/schema/context"
xmlns:context=
"http://www.springframework.org/schema/context"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans
xsi:schemaLocation=
"http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-
3.1
.xsd
http://www.springframework.org/schema/beans/spring-beans-
5.1.7
.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-
3.1
.xsd
http://www.springframework.org/schema/mvc/spring-mvc-
5.1.7
.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-
3.1
.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"
>
http://www.springframework.org/schema/aop/spring-aop-
5.1.7
.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"
>
<mvc:interceptors>
<mvc:interceptors>
<mvc:interceptor>
<!-- 拦截所有的请求,这个必须写在前面,也就是写在【不拦截】的上面 -->
<mvc:mapping
path=
"/**"
/>
<!-- 但是排除下面这些,也就是不拦截请求 -->
<mvc:exclude-mapping
path=
"/gic-auth-web/login"
/>
<mvc:exclude-mapping
path=
"/gic-auth-web/logout"
/>
<mvc:exclude-mapping
path=
"/gic-auth-web/list-enterprise-by-phone"
/>
<mvc:exclude-mapping
path=
"/gic-auth-web/login-user-menu"
/>
<mvc:exclude-mapping
path=
"/gic-auth-web/login-user-operation-item"
/>
<bean
class=
"com.gic.enterprise.interceptor.RequestInteceptor"
></bean>
<bean
class=
"com.gic.enterprise.interceptor.RequestInteceptor"
></bean>
<bean
class=
"com.gic.commons.interceptor.HeaderTagInterceptor"
/>
</mvc:interceptor>
<bean
class=
"com.gic.enterprise.interceptor.AuthInterceptor"
></bean>
<bean
class=
"com.gic.enterprise.interceptor.AuthInterceptor"
></bean>
<bean
class=
"com.gic.commons.interceptor.HeaderTagInterceptor"
/>
<bean
class=
"com.gic.commons.interceptor.HeaderSignInterceptor"
></bean>
<bean
class=
"com.gic.commons.interceptor.HeaderSignInterceptor"
></bean>
</mvc:interceptors>
</mvc:interceptors>
</beans>
</beans>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment