import request from '@u/request' // 获取文件审批记录列表(包含审批明细) export const getListByFileId = (data:object) => { return request({ url: '/api/fileHistory/getListByFileId', method: 'get', data: data }) } // 设置为当前版本(包含审批明细) export const setToCurr = (data:object) => { return request({ url: '/api/fileHistory/setToCurr', method: 'post', data: data }) } // 下载历史版本 export const getFileHistoryUrl = (data:object) => { return request({ url: '/api/fileHistory/getPresignedUrl', method: 'get', data: data }) } // 删除历史版本 export const deleteFileHistory = (data:object) => { return request({ url: '/api/fileHistory/delete', method: 'post', data: data }) }