mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-01 00:25:25 +08:00
feat: 机器文件新增批量删除、copy、mv、rename等操作
This commit is contained in:
@@ -29,7 +29,10 @@ export const machineApi = {
|
||||
lsFile: Api.newGet('/machines/{machineId}/files/{fileId}/read-dir'),
|
||||
dirSize: Api.newGet('/machines/{machineId}/files/{fileId}/dir-size'),
|
||||
fileStat: Api.newGet('/machines/{machineId}/files/{fileId}/file-stat'),
|
||||
rmFile: Api.newDelete('/machines/{machineId}/files/{fileId}/remove'),
|
||||
rmFile: Api.newPost('/machines/{machineId}/files/{fileId}/remove'),
|
||||
cpFile: Api.newPost('/machines/{machineId}/files/{fileId}/cp'),
|
||||
renameFile: Api.newPost('/machines/{machineId}/files/{fileId}/rename'),
|
||||
mvFile: Api.newPost('/machines/{machineId}/files/{fileId}/mv'),
|
||||
uploadFile: Api.newPost('/machines/{machineId}/files/{fileId}/upload?token={token}'),
|
||||
fileContent: Api.newGet('/machines/{machineId}/files/{fileId}/read'),
|
||||
createFile: Api.newPost('/machines/{machineId}/files/{id}/create-file'),
|
||||
|
||||
Reference in New Issue
Block a user