【升级】文件管理增加物理删除方法,加入一个字段

This commit is contained in:
俞宝山
2025-05-10 20:18:10 +08:00
parent c9deb49051
commit 92bed57653
8 changed files with 119 additions and 2 deletions

View File

@@ -23,6 +23,14 @@ import org.springframework.web.multipart.MultipartFile;
**/
public interface DevFileApi {
/**
* 动态上传文件返回id使用系统配置的默认文件引擎
*
* @author xuyuxiang
* @date 2021/10/13 14:01
**/
String uploadDynamicReturnId(MultipartFile file);
/* =========本地文件========= */
/**
@@ -110,4 +118,12 @@ public interface DevFileApi {
* @date 2024/7/26 16:10
*/
JSONObject getFileInfoById(String id);
/**
* 根据文件id物理删除文件
*
* @author xuyuxiang
* @date 2022/8/4 10:36
**/
void deleteAbsoluteById(String id);
}