Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -42,7 +42,7 @@ public class CzgControllerAdvice {
|
|||||||
@ResponseStatus(HttpStatus.OK)
|
@ResponseStatus(HttpStatus.OK)
|
||||||
public CzgResult<Object> notLoginErrorHandler(NotLoginException ex) {
|
public CzgResult<Object> notLoginErrorHandler(NotLoginException ex) {
|
||||||
setErrorLog(ex);
|
setErrorLog(ex);
|
||||||
return CzgResult.failure(CzgRespCode.NOT_LOGIN + ":" + ex.getMessage());
|
return CzgResult.failure(CzgRespCode.NOT_LOGIN.getCode(), CzgRespCode.NOT_LOGIN + ":" + ex.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
|
|||||||
Reference in New Issue
Block a user