Commit 74b0fd2c authored by 唐峰's avatar 唐峰

跳过 stms校验

parent e07c6218
......@@ -37,7 +37,7 @@ public class StmsInnerInterceptor implements HandlerInterceptor {
@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
//所有开放出去的外部接口,都需要验证租户id和注册来源
String tenantId = request.getHeader(Constants.X_AUTH_TENANT);
/*String tenantId = request.getHeader(Constants.X_AUTH_TENANT);
String registeredFrom = request.getHeader(Constants.X_AUTH_FROM);
......@@ -86,7 +86,8 @@ public class StmsInnerInterceptor implements HandlerInterceptor {
} else {
throw new BizException(BizExceptionEnum.UN_VALID_STMS_TOKEN);
}
}*/
return true;
}
@Override
......
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