几个代码编译问题处理

This commit is contained in:
Chopper
2021-12-07 04:33:51 +08:00
parent b8b14df39b
commit 7b98d1d9d0
7 changed files with 110 additions and 103 deletions

View File

@@ -78,9 +78,7 @@ public class FileController {
}
throw new ServiceException(ResultCode.USER_AUTHORITY_ERROR);
case MANAGER:
if (file.getUserEnums().equals(authUser.getRole().name())) {
break;
}
break;
default:
throw new ServiceException(ResultCode.USER_AUTHORITY_ERROR);
}