Commit b5b4128a by fudahua

小程序1fix

parent d7218beb
...@@ -56,15 +56,6 @@ public class WebInterceptor extends HandlerInterceptorAdapter { ...@@ -56,15 +56,6 @@ public class WebInterceptor extends HandlerInterceptorAdapter {
Map<String, String[]> parameterMap = httpServletRequest.getParameterMap(); Map<String, String[]> parameterMap = httpServletRequest.getParameterMap();
logger.info("post-params:{}", JSONObject.toJSONString(parameterMap)); logger.info("post-params:{}", JSONObject.toJSONString(parameterMap));
HandlerMethod method = null;
if (o instanceof HandlerMethod) {
method = (HandlerMethod) (o);
}
if (method == null) {
return true;
}
MenuCheck methodAnnotation = method.getMethodAnnotation(MenuCheck.class);
return true; return true;
} }
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
<bean class="com.gic.haoban.common.ext.PropertyViewClearInterceptor"/> <bean class="com.gic.haoban.common.ext.PropertyViewClearInterceptor"/>
<mvc:interceptor> <mvc:interceptor>
<mvc:mapping path="/**"/> <mvc:mapping path="/**"/>
<mvc:exclude-mapping path="/login.json"/> <!--<mvc:exclude-mapping path="/login.json"/>-->
<mvc:exclude-mapping path="/login-*"/> <!--<mvc:exclude-mapping path="/login-*"/>-->
<mvc:exclude-mapping path="/gic-login*"/> <!--<mvc:exclude-mapping path="/gic-login*"/>-->
<mvc:exclude-mapping path="/*test.json"/> <!--<mvc:exclude-mapping path="/*test.json"/>-->
<mvc:exclude-mapping path="/test/*"/> <!--<mvc:exclude-mapping path="/test/*"/>-->
<mvc:exclude-mapping path="/pay/*"/> <!--<mvc:exclude-mapping path="/pay/*"/>-->
<mvc:exclude-mapping path="/login"/> <!--<mvc:exclude-mapping path="/login"/>-->
<mvc:exclude-mapping path="/nationcode/get-nationcode-list"/> <!--<mvc:exclude-mapping path="/nationcode/get-nationcode-list"/>-->
<mvc:exclude-mapping path="/get-pic-code"/> <mvc:exclude-mapping path="/get-pic-code"/>
<mvc:exclude-mapping path="/phone-login"/> <mvc:exclude-mapping path="/phone-login"/>
<mvc:exclude-mapping path="/upload-file*"/> <mvc:exclude-mapping path="/upload-file*"/>
......
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