登录处理

master
cheney 2 years ago
parent 71bf729d36
commit adec7258a7
  1. 2
      src/main/java/com/huoran/iasf/common/exception/handler/RestExceptionHandler.java

@ -39,7 +39,7 @@ public class RestExceptionHandler {
* 系统繁忙请稍候再试" * 系统繁忙请稍候再试"
*/ */
@ExceptionHandler(Exception.class) @ExceptionHandler(Exception.class)
@ResponseStatus(HttpStatus.NOT_FOUND) @ResponseStatus(HttpStatus.UNAUTHORIZED)
public R handleException(Exception e) { public R handleException(Exception e) {
log.error("Exception,exception:{}", e, e); log.error("Exception,exception:{}", e, e);
return R.getResult(BaseResponseCode.SYSTEM_BUSY); return R.getResult(BaseResponseCode.SYSTEM_BUSY);

Loading…
Cancel
Save