mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-10 11:20:24 +08:00
fix: 机器文件下载问题修复&dbm重构
This commit is contained in:
@@ -35,6 +35,7 @@ export const machineApi = {
|
||||
mvFile: Api.newPost('/machines/{machineId}/files/{fileId}/mv'),
|
||||
uploadFile: Api.newPost('/machines/{machineId}/files/{fileId}/upload?' + joinClientParams()),
|
||||
fileContent: Api.newGet('/machines/{machineId}/files/{fileId}/read'),
|
||||
downloadFile: Api.newGet('/machines/{machineId}/files/{fileId}/download'),
|
||||
createFile: Api.newPost('/machines/{machineId}/files/{id}/create-file'),
|
||||
// 修改文件内容
|
||||
updateFileContent: Api.newPost('/machines/{machineId}/files/{id}/write'),
|
||||
|
||||
Reference in New Issue
Block a user