diff --git a/core/package.json b/core/package.json index f1aedff..3cb7a66 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "@cool-midway/core", - "version": "7.0.6", + "version": "7.0.8", "description": "", "main": "dist/index.js", "typings": "index.d.ts", diff --git a/core/src/interface.ts b/core/src/interface.ts index caf24b1..a9f8f46 100644 --- a/core/src/interface.ts +++ b/core/src/interface.ts @@ -164,6 +164,8 @@ export interface OSSConfig { maxSize?: number; // host host?: string; + // 阿里云oss的公网访问地址 + publicDomain?: string; } /** diff --git a/core/src/package.json b/core/src/package.json index 1f94dfa..253b822 100644 --- a/core/src/package.json +++ b/core/src/package.json @@ -1,6 +1,6 @@ { "name": "@cool-midway/core", - "version": "7.0.6", + "version": "7.0.8", "description": "", "main": "index.js", "typings": "index.d.ts", diff --git a/file/package.json b/file/package.json index 4eba19d..0f08d5e 100644 --- a/file/package.json +++ b/file/package.json @@ -1,6 +1,6 @@ { "name": "@cool-midway/file", - "version": "7.0.3", + "version": "7.0.5", "description": "", "main": "dist/index.js", "typings": "index.d.ts", diff --git a/file/src/interface.ts b/file/src/interface.ts index eaedc56..6f8005f 100644 --- a/file/src/interface.ts +++ b/file/src/interface.ts @@ -68,7 +68,7 @@ export interface OSSConfig { // host host?: string; // 阿里云oss的公网访问地址 - publicDomain: string; + publicDomain?: string; } /** diff --git a/file/src/package.json b/file/src/package.json index dde4bd0..d206cf2 100644 --- a/file/src/package.json +++ b/file/src/package.json @@ -1,6 +1,6 @@ { "name": "@cool-midway/file", - "version": "7.0.3", + "version": "7.0.5", "description": "", "main": "index.js", "typings": "index.d.ts",