feat:(REQ-3540) rename加上api
This commit is contained in:
parent
fc348855a1
commit
8407627e17
@ -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.ServerFileBatchCopyObjectResponse;
|
||||||
import cn.axzo.oss.http.model.copyobject.ServerFileBatchDeleteObjectRequest;
|
import cn.axzo.oss.http.model.copyobject.ServerFileBatchDeleteObjectRequest;
|
||||||
import cn.axzo.oss.http.model.copyobject.ServerFileBatchDeleteObjectResponse;
|
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.UpdateFileInfoRequest;
|
||||||
import cn.axzo.oss.http.model.file.UpdateFileInfoResponse;
|
import cn.axzo.oss.http.model.file.UpdateFileInfoResponse;
|
||||||
import cn.azxo.framework.common.model.CommonResponse;
|
import cn.azxo.framework.common.model.CommonResponse;
|
||||||
@ -153,6 +155,12 @@ public interface ServerFileServiceApi {
|
|||||||
@RequestMapping(value = "/api/server/batchCopyObject", method = RequestMethod.POST)
|
@RequestMapping(value = "/api/server/batchCopyObject", method = RequestMethod.POST)
|
||||||
CommonResponse<UpdateFileInfoResponse> updateFileInfo(@Valid @RequestBody UpdateFileInfoRequest request);
|
CommonResponse<UpdateFileInfoResponse> updateFileInfo(@Valid @RequestBody UpdateFileInfoRequest request);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 重命名
|
||||||
|
*/
|
||||||
|
@RequestMapping(value = "/api/server/rename", method = RequestMethod.POST)
|
||||||
|
CommonResponse<FileRenameResponse> rename(@Valid @RequestBody FileRenameRequest request);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除文件
|
* 删除文件
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user