mirror of https://gitee.com/stylefeng/guns
【7.0.2】更新异常拦截的提示
parent
f35b3fa0ad
commit
ad2073537d
|
@ -192,7 +192,7 @@ public class GlobalExceptionHandler {
|
|||
} else {
|
||||
// 其他请求或者是ajax请求
|
||||
response.setHeader("Guns-Session-Timeout", "true");
|
||||
ErrorResponseData errorResponseData = renderJson(authException);
|
||||
ErrorResponseData errorResponseData = renderJson(authException.getErrorCode(), authException.getUserTip(), authException);
|
||||
ResponseRenderUtil.renderJsonResponse(response, errorResponseData);
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue