|
@ -34,7 +34,7 @@ public class SessionOutTimeFilter extends OncePerRequestFilter {
|
|
if (isLogin == null || (String) isLogin != "true") {
|
|
if (isLogin == null || (String) isLogin != "true") {
|
|
// request.setAttribute(FormAuthenticationFilter.DEFAULT_ERROR_KEY_ATTRIBUTE_NAME,"请重新登入");
|
|
// request.setAttribute(FormAuthenticationFilter.DEFAULT_ERROR_KEY_ATTRIBUTE_NAME,"请重新登入");
|
|
if(path.indexOf("customer")>-1){
|
|
if(path.indexOf("customer")>-1){
|
|
httpServletResponse.getOutputStream().write("{\"code\":-200}".getBytes());//-200 客服未登录
|
|
|
|
|
|
httpServletResponse.getOutputStream().write("{\"status\":-200}".getBytes());//-200 客服未登录
|
|
return ;
|
|
return ;
|
|
}
|
|
}
|
|
|
|
|