登录失效code 修改
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user