iv-npm 1.7.93 → 1.7.94

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.7.93",
3
+ "version": "1.7.94",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -217,6 +217,9 @@ function apiConfiger(config) {
217
217
  if (config.requestBase == "POS_URL") {
218
218
  config.baseURL = process.env.NODE_ENV == "development" ? "/pos" : `${protocol}//pos.${hostname[1]}.${hostname[2]}`;
219
219
  }
220
+ if (config.requestBase == "WDM_URL") {
221
+ config.baseURL = process.env.NODE_ENV == "development" ? "/wdm" : `${protocol}//wdm.${hostname[1]}.${hostname[2]}`;
222
+ }
220
223
  return config;
221
224
  }
222
225