|
@@ -153,7 +153,7 @@ const handleUploadToMinIO=(file,fileName,options={})=>{
|
|
|
|
|
|
const res=await getOSSSign({StorageSource:2})
|
|
const res=await getOSSSign({StorageSource:2})
|
|
// console.log(res);
|
|
// console.log(res);
|
|
- if(res.Ret!==200) reject("获取minio临时签名错误")
|
|
|
|
|
|
+ // if(res.Ret!==200) reject("获取minio临时签名错误")
|
|
// return
|
|
// return
|
|
const minioClient = new Minio.Client({
|
|
const minioClient = new Minio.Client({
|
|
endPoint: res.Data.Endpoint.split(':')[0],
|
|
endPoint: res.Data.Endpoint.split(':')[0],
|