|
@@ -29,7 +29,7 @@ export const uploadToOBS = async(file,progressCallback,type) => {
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|
|
//上传对象
|
|
//上传对象
|
|
obsClient.putObject({
|
|
obsClient.putObject({
|
|
- Bucket: 'ylrz-obs2024',//桶名称
|
|
|
|
|
|
+ Bucket: 'fby-hw079058881',//桶名称
|
|
Key: key,//文件名
|
|
Key: key,//文件名
|
|
Body: file,
|
|
Body: file,
|
|
ProgressCallback: callback,//进度回调
|
|
ProgressCallback: callback,//进度回调
|