|
|
|
@ -26,7 +26,7 @@ async function Fileslicing(vueInstance, file, done, column) {
|
|
|
|
|
try { |
|
|
|
|
// 发起分片上传请求
|
|
|
|
|
const response = await axios.post( |
|
|
|
|
"/api/blade-resource-pref/oss/endpoint/chunk", |
|
|
|
|
"/api/blade-resource/oss/endpoint/chunk", |
|
|
|
|
formData, |
|
|
|
|
{ |
|
|
|
|
headers: { |
|
|
|
@ -59,7 +59,7 @@ async function Fileslicing(vueInstance, file, done, column) {
|
|
|
|
|
totalChunks: totalChunks, |
|
|
|
|
}; |
|
|
|
|
const Stresponse = await axios.post( |
|
|
|
|
"/api/blade-resource-pref/oss/endpoint/mergeFile?code=aliyunoss", |
|
|
|
|
"/api/blade-resource/oss/endpoint/mergeFile?code=aliyunoss", |
|
|
|
|
fileData, |
|
|
|
|
{ |
|
|
|
|
headers: { |
|
|
|
|