优化文件删除逻辑,同时删除文件和对应的MD5信息
This commit is contained in:
parent
d6dea7eb1d
commit
3a6b3c9cad
@ -118,6 +118,7 @@ public class FileOperateUtils {
|
|||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public static final boolean deleteFile(String fileUrl) throws Exception {
|
public static final boolean deleteFile(String fileUrl) throws Exception {
|
||||||
|
deleteFileAndMd5ByFilePath(fileUrl);
|
||||||
return fileService.deleteFile(fileUrl);
|
return fileService.deleteFile(fileUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user