You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
484 B

import request from "@/utils/request";
import {host} from "@/config/host";
/**
* 阿里云文件上传STS
* @param {Object} data
*/
export function getSTS(data) {
return request({
url: `/get-aliyun-sts`,
method: "get",
data
});
}
/**
* 获取配置
* @param sign
* @returns {Promise | Promise<unknown>}
*/
export function getConfig(sign){
return request({
url:`/get-config`,
data:{
sign:sign
}
})
}