Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d22bbf41e3
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue