feat:(REQ-3540) rename加上api

This commit is contained in:
xudawei 2025-03-17 14:21:57 +08:00
parent fc348855a1
commit 8407627e17

View File

@ -26,6 +26,8 @@ import cn.axzo.oss.http.model.copyobject.ServerFileBatchCopyObjectRequest;
import cn.axzo.oss.http.model.copyobject.ServerFileBatchCopyObjectResponse;
import cn.axzo.oss.http.model.copyobject.ServerFileBatchDeleteObjectRequest;
import cn.axzo.oss.http.model.copyobject.ServerFileBatchDeleteObjectResponse;
import cn.axzo.oss.http.model.file.FileRenameRequest;
import cn.axzo.oss.http.model.file.FileRenameResponse;
import cn.axzo.oss.http.model.file.UpdateFileInfoRequest;
import cn.axzo.oss.http.model.file.UpdateFileInfoResponse;
import cn.azxo.framework.common.model.CommonResponse;
@ -153,6 +155,12 @@ public interface ServerFileServiceApi {
@RequestMapping(value = "/api/server/batchCopyObject", method = RequestMethod.POST)
CommonResponse<UpdateFileInfoResponse> updateFileInfo(@Valid @RequestBody UpdateFileInfoRequest request);
/**
* 重命名
*/
@RequestMapping(value = "/api/server/rename", method = RequestMethod.POST)
CommonResponse<FileRenameResponse> rename(@Valid @RequestBody FileRenameRequest request);
/**
* 删除文件
*/