mirror of
https://gitee.com/xiaonuobase/snowy.git
synced 2026-03-22 02:37:16 +08:00
【升级】文件管理增加物理删除方法,加入一个字段
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user