Commit 24cbd3b8 by xiexiaoqin

fix: 预览文件改为Post

parent 80702c8d
......@@ -289,9 +289,10 @@ export function setRead(meetingId) {
})
}
export function previewOssFile(fileId) {
export function previewOssFile(data) {
return $http({
method: 'get',
url: `/meet/fileDetail?objectName=${fileId}`
method: 'post',
url: `/meet/fileDetail`,
data: JSON.stringify(data)
})
}
\ No newline at end of file
......@@ -71,7 +71,7 @@ create.Component({
});
} else {
// 预览文件
previewOssFile(file.fileId).then(res => {
previewOssFile({ objectName: file.fileId }).then(res => {
openLink({
url: res.data.data.webUrl
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment