Fix ci errors

pull/762/head
chen.ma 3 years ago
parent 87100acee6
commit 00440506c2

@ -85,7 +85,7 @@ public class JWTAuthorizationFilter extends BasicAuthenticationFilter {
String resultStatus = "-1"; String resultStatus = "-1";
if (ex instanceof ServiceException) { if (ex instanceof ServiceException) {
ServiceException serviceException = (ServiceException) ex; ServiceException serviceException = (ServiceException) ex;
resultStatus = serviceException.errorCode.getCode(); resultStatus = serviceException.getErrorCode().getCode();
} }
response.getWriter().write(JSONUtil.toJSONString(Results.failure(resultStatus, ex.getMessage()))); response.getWriter().write(JSONUtil.toJSONString(Results.failure(resultStatus, ex.getMessage())));
response.getWriter().flush(); response.getWriter().flush();

Loading…
Cancel
Save