Skip to content

Commit e882ad5

Browse files
chinachunerlisong
authored andcommitted
无法获取七牛下载地址 (#89)
添加七牛下载链接获取
1 parent ff07696 commit e882ad5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/utils/common.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ common.getBlobDownloadUrl = function (blobUrl) {
200200
downloadUrl = _.get(config, 's3.downloadUrl');
201201
} else if (_.get(config, 'common.storageType') === 'oss') {
202202
downloadUrl = _.get(config, 'oss.downloadUrl');
203+
}else if (_.get(config, 'common.storageType') === 'qiniu') {
204+
downloadUrl = _.get(config, 'qiniu.downloadUrl');
203205
}
204206
return `${downloadUrl}/${fileName}`
205207
};

0 commit comments

Comments
 (0)