opt: 附件上传/删除
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user