Browse Source

去除前缀

dev-xx
pref_mail@163.com 8 months ago
parent
commit
5b7ac6b1d1
  1. 4
      src/utils/Fileslicing.js

4
src/utils/Fileslicing.js

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

Loading…
Cancel
Save