1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| import service from "@/libs/axios";
| import {commonUrl} from '@/libs/axios';
|
|
| // 获取文件临时访问url
| export const getFilePreview = (fileKey) => {
| return service({
| baseURL: commonUrl,
| url: "/common/lmk/file/preview",
| method: "POST",
| data: {"fileKey": fileKey}
| })
| }
|
| // 获取STS访问令牌
| export const getSts = () => {
| return service({
| baseURL: commonUrl,
| url: "/common/lmk/file/sts",
| method: "GET"
| })
| }
|
|