Commit 6a73a04da97b9429ce611b2cb9d81125408b9457
1 parent
a0a26437
提交
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/zteits/oa/configuration/auth/AuthInterceptor.java
| ... | ... | @@ -84,7 +84,7 @@ public class AuthInterceptor extends HandlerInterceptorAdapter { |
| 84 | 84 | response.setHeader("Content-type", MIME_JSON); |
| 85 | 85 | response.setContentType(MIME_JSON); |
| 86 | 86 | BizResult<?> bizResult = new BizResult<>(); |
| 87 | - bizResult.setErrCode(errortype.getCode()); | |
| 87 | + bizResult.setCode(errortype.getCode()); | |
| 88 | 88 | bizResult.setErrMsg(errortype.getMsg()); |
| 89 | 89 | response.setStatus(HttpStatus.OK.value()); |
| 90 | 90 | writer.write(JSONObject.toJSON(bizResult).toString()); | ... | ... |