Просмотр исходного кода

add debug info

release_toaliyun_real
xiaohanzi 6 лет назад
Родитель
Сommit
b760c15fbd
1 измененных файлов: 3 добавлений и 0 удалений
  1. +3
    -0
      mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java

+ 3
- 0
mallinkCApi/src/main/java/com/iformall/interceptor/AuthorizationInterceptor.java Просмотреть файл

@@ -29,6 +29,9 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {


@Override @Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
System.out.println(" requesturi......"+request.getRequestURL());
AuthIgnore annotation; AuthIgnore annotation;
if(handler instanceof HandlerMethod) { if(handler instanceof HandlerMethod) {
annotation = ((HandlerMethod) handler).getMethodAnnotation(AuthIgnore.class); annotation = ((HandlerMethod) handler).getMethodAnnotation(AuthIgnore.class);


Загрузка…
Отмена
Сохранить