提交 4694ee05 authored 作者: 史晓晨's avatar 史晓晨

feat:oss下载BucketName传参

上级 7fefa37f
...@@ -2,5 +2,4 @@ class Constants { ...@@ -2,5 +2,4 @@ class Constants {
static const spCurrentDay = "current_day"; static const spCurrentDay = "current_day";
static const dateFormat = "yyyy-MM-dd"; static const dateFormat = "yyyy-MM-dd";
static const ossEndpoint = 'oss-cn-beijing.aliyuncs.com'; static const ossEndpoint = 'oss-cn-beijing.aliyuncs.com';
static const ossBucketName = 'clx-prod';
} }
...@@ -84,7 +84,7 @@ class OSSDownloadImpl implements DownloadService { ...@@ -84,7 +84,7 @@ class OSSDownloadImpl implements DownloadService {
token, token,
objectKey, objectKey,
Constants.ossEndpoint, Constants.ossEndpoint,
Constants.ossBucketName, getOssBucketName(),
path, path,
localPathFileName); localPathFileName);
} catch (e) { } catch (e) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论