Web: Common: Api: Added fileCopyAs action
This commit is contained in:
parent
7a5fbcbc2a
commit
0b9a9b633d
@ -797,3 +797,15 @@ export function checkFillFormDraft(fileId) {
|
||||
data: { fileId },
|
||||
});
|
||||
}
|
||||
|
||||
export function fileCopyAs(fileId, title, folderId, enableExternalExt) {
|
||||
return request({
|
||||
method: "post",
|
||||
url: `file/${fileId}/copyas`,
|
||||
data: {
|
||||
title,
|
||||
folderId,
|
||||
enableExternalExt,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user