Commit 4cb8afb1 authored by liqin's avatar liqin 💬

bug fixed

parent f4dd55f6
......@@ -76,14 +76,14 @@ public class FileUploadController extends BaseController {
try {
FastDFSUtils.deleteFile(fileUrl);
FastDFSUtils.deleteFile(fileUrlCrypto);
} catch (FdfsServerException e) {
} catch (Throwable e) {
this.assetService.removeById(id);
return getResult("文件被已删除");
return getResult("文件已被删除");
}
this.assetService.removeById(id);
return getSuccessResult();
}
return getResult("文件被已删除");
return getResult("文件已被删除");
}
@ApiImplicitParams({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment