Merge branch 'dev_hotfix' into test
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -41,6 +41,7 @@ public class SecurityInterceptor implements HandlerInterceptor { | @@ -41,6 +41,7 @@ public class SecurityInterceptor implements HandlerInterceptor { | ||
41 | @Override | 41 | @Override |
42 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { | 42 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { |
43 | //(1)排除掉exclude和debug模式 | 43 | //(1)排除掉exclude和debug模式 |
44 | + logger.debug("enter preHandle with url={}", request.getRequestURI()); | ||
44 | if (this.isIgnore(request)) { | 45 | if (this.isIgnore(request)) { |
45 | return true; | 46 | return true; |
46 | } | 47 | } |
@@ -49,6 +50,7 @@ public class SecurityInterceptor implements HandlerInterceptor { | @@ -49,6 +50,7 @@ public class SecurityInterceptor implements HandlerInterceptor { | ||
49 | Map<String, String> params = this.getRequestInfo(request); | 50 | Map<String, String> params = this.getRequestInfo(request); |
50 | 51 | ||
51 | //(3)验证请求参数中是否包含必填参数, 如果不包含则请求失败(活动暂时 client_secret 的校验) | 52 | //(3)验证请求参数中是否包含必填参数, 如果不包含则请求失败(活动暂时 client_secret 的校验) |
53 | + logger.info("Begin validateReqParams. param is {}", params); | ||
52 | this.validateReqParams(params); | 54 | this.validateReqParams(params); |
53 | 55 | ||
54 | //(4)校验安全码是否正确 | 56 | //(4)校验安全码是否正确 |
-
Please register or login to post a comment