提交 08c46eac 编写于 作者: M megagao

添加了文件删除的实现

上级 7b0077f5
......@@ -6,6 +6,7 @@ import java.util.Map;
import org.hqu.production_ms.service.FileService;
import org.hqu.production_ms.service.PictureService;
import org.hqu.production_ms.util.FileUtil;
import org.hqu.production_ms.util.IDUtils;
import org.joda.time.DateTime;
import org.springframework.stereotype.Service;
......@@ -62,8 +63,8 @@ public class FileServiceImpl implements FileService{
@Override
public boolean deleteFile(String filename) {
return false;
FileUtil.deleteFile(filename);
return true;
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册