Showing
1 changed file
with
1 additions
and
3 deletions
@@ -36,9 +36,7 @@ public class UrlInterceptor implements HandlerInterceptor { | @@ -36,9 +36,7 @@ public class UrlInterceptor implements HandlerInterceptor { | ||
36 | 36 | ||
37 | @Override | 37 | @Override |
38 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object arg2) throws Exception { | 38 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object arg2) throws Exception { |
39 | - if (1==1) { | ||
40 | - return true; | ||
41 | - } | 39 | + |
42 | String url = (String) request.getAttribute("javax.servlet.include.request_uri"); | 40 | String url = (String) request.getAttribute("javax.servlet.include.request_uri"); |
43 | if (StringUtils.isEmpty(url)) { | 41 | if (StringUtils.isEmpty(url)) { |
44 | url = request.getRequestURI(); | 42 | url = request.getRequestURI(); |
-
Please register or login to post a comment