opt: 附件上传/删除

This commit is contained in:
2025-11-21 17:02:48 +08:00
parent 5af4d27532
commit 738deb04df
15 changed files with 376 additions and 36 deletions

View File

@@ -111,5 +111,16 @@ public interface DevFileApi {
*/
JSONObject getFileInfoById(String id);
/**
* 通过文件地址获取文件信息
* @param fileAddress 文件地址
* @return
*/
JSONObject getFileInfoByUrl(String fileAddress);
/**
* 通过文件id删除文件
* @param fileId
*/
void deleteById(String fileId);
}