iv-npm 1.5.40 → 1.5.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iv-npm",
3
- "version": "1.5.40",
3
+ "version": "1.5.41",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -48,7 +48,7 @@ declare function buildURL(url: string, params: any): string;
48
48
 
49
49
  declare function apiConfiger(config: any): any;
50
50
 
51
- declare type HostKey = "BASE_URL" | "MRP_URL" | "MRP2_URL" | "ASSET_URL" | "GATEWAY_URL" | "SFM_URL";
51
+ declare type HostKey = "BASE_URL" | "MRP_URL" | "MRP2_URL" | "ASSET_URL" | "ASSETS_URL" | "GATEWAY_URL" | "SFM_URL";
52
52
  declare function hostConfiger(key: HostKey): string;
53
53
 
54
54
  declare type formatType = {
@@ -152,6 +152,7 @@ function hostConfiger(key) {
152
152
  MRP_URL: "https://mrp.nacho.cn",
153
153
  MRP2_URL: "https://mrp2.nacho.cn",
154
154
  ASSET_URL: "https://gateway.nacho.cn",
155
+ ASSETS_URL: "https://assets.nacho.cn",
155
156
  GATEWAY_URL: "https://gateway.nacho.cn",
156
157
  SFM_URL: "https://sfm.nacho.cn"
157
158
  };
@@ -219,6 +220,9 @@ function hostConfiger(key) {
219
220
  case "ASSET_URL":
220
221
  preString = "gateway";
221
222
  break;
223
+ case "ASSETS_URL":
224
+ preString = "assets";
225
+ break;
222
226
  case "GATEWAY_URL":
223
227
  preString = "gateway";
224
228
  break;