【7.0.2】更新异常拦截的提示

pull/71/head
fengshuonan 2021-04-02 12:16:04 +08:00
parent f35b3fa0ad
commit ad2073537d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}