Sunny_CMDB

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/veops/cmdb?shareId=XXXX-XXXX-XXXX-XXXX).
This commit is contained in:
SunnY0808
2025-03-08 20:33:29 +08:00
parent 47332aca3c
commit 5d0632b2ab
4 changed files with 53 additions and 0 deletions

View File

@@ -29,3 +29,33 @@ export function deleteFileData(data_type, id) {
method: 'delete',
})
}
export function postUploadFile(parameter) {
return axios({
url: '/common-setting/v1/upload-file',
method: 'post',
data: parameter,
})
}
export function getUploadFile(file_id) {
return axios({
url: `/common-setting/v1/upload-file/${file_id}`,
method: 'get',
})
}
export function postReviewFile(parameter) {
return axios({
url: '/common-setting/v1/review-file',
method: 'post',
data: parameter,
})
}
export function getReviewFile(file_id) {
return axios({
url: `/common-setting/v1/review-file/${file_id}`,
method: 'get',
})
}