Merge remote-tracking branch 'origin/master'

This commit is contained in:
Tankaikai 2025-02-17 10:12:54 +08:00
commit d22bbf41e3
1 changed files with 1 additions and 1 deletions

View File

@ -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