Compare commits

..

No commits in common. "a2ffc084d8f67f49a440a718b6ecbcb9ee2d346b" and "f217fbb6fb1c4e1b01d7b977fcd909e2d08a606b" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ public class EdFileInfoController {
return edFileInfoService.delete(id);
}
@RequiredPermission(value = FilePermission.VIEW)
// @RequiredPermission(value = FilePermission.VIEW)
@RequestMapping("info")
public ElectromagneticResult<?> info(@RequestBody FileInfoQueryDTO fileInfoQueryDTO) {
return edFileInfoService.queryEdFileInfo(fileInfoQueryDTO);

View File

@ -412,7 +412,7 @@ public class EdFileInfoServiceImpl extends ServiceImpl<EdFileInfoMapper, EdFileI
AES aes = SecureUtil.aes(FILE_SEC_PASSWD.getBytes());
try (
InputStream inputStream = Files.newInputStream(Paths.get(destColibPath));
OutputStream outputStream = Files.newOutputStream(Paths.get(zipDirPath))
OutputStream outputStream = Files.newOutputStream(Paths.get(zipDirPath));
) {
aes.decrypt(inputStream, outputStream, true);
} catch (Exception e) {