登录失效code 修改

This commit is contained in:
GYJ
2025-02-17 09:52:30 +08:00
parent a6175be737
commit e22f924d79

View File

@@ -42,7 +42,7 @@ public class CzgControllerAdvice {
@ResponseStatus(HttpStatus.OK)
public CzgResult<Object> notLoginErrorHandler(NotLoginException ex) {
setErrorLog(ex);
return CzgResult.failure(CzgRespCode.NOT_LOGIN + ":" + ex.getMessage());
return CzgResult.failure(CzgRespCode.NOT_LOGIN.getCode(), CzgRespCode.NOT_LOGIN + ":" + ex.getMessage());
}
@ResponseBody