Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
85a0cfe8a7
|
|
@ -41,7 +41,6 @@ public class CzgControllerAdvice {
|
|||
@ExceptionHandler(value = NotLoginException.class)
|
||||
@ResponseStatus(HttpStatus.OK)
|
||||
public CzgResult<Object> notLoginErrorHandler(NotLoginException ex) {
|
||||
setErrorLog(ex);
|
||||
return CzgResult.failure(CzgRespCode.NOT_LOGIN.getCode(), CzgRespCode.NOT_LOGIN + ":" + ex.getMessage());
|
||||
}
|
||||
|
||||
|
|
@ -65,7 +64,6 @@ public class CzgControllerAdvice {
|
|||
@ExceptionHandler(value = NotPermissionException.class)
|
||||
@ResponseStatus(HttpStatus.OK)
|
||||
public CzgResult<Object> notPermissionErrorHandler(NotPermissionException ex) {
|
||||
setErrorLog(ex);
|
||||
return CzgResult.failure(CzgRespCode.UN_PERMISSION);
|
||||
}
|
||||
|
||||
|
|
@ -73,7 +71,6 @@ public class CzgControllerAdvice {
|
|||
@ExceptionHandler(value = NotRoleException.class)
|
||||
@ResponseStatus(HttpStatus.OK)
|
||||
public CzgResult<Object> notRoleErrorHandler(NotRoleException ex) {
|
||||
setErrorLog(ex);
|
||||
return CzgResult.failure(CzgRespCode.UN_ROLE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue