@be-link/pos-cli-nodejs 1.0.189 → 1.0.191
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 +1 -1
- package/pos/modules/orderCore/types.d.ts +2 -0
- package/pos/modules/service.js +1 -1
- package/types.d.ts +2 -0
package/package.json
CHANGED
package/pos/modules/service.js
CHANGED
|
@@ -16,7 +16,7 @@ class BaseService {
|
|
|
16
16
|
/** 如果是云函数环境, 默认走公网访问 */
|
|
17
17
|
this.isPublicEnv = (process.env.CONTAINER_ENV || 'SCF') === 'SCF';
|
|
18
18
|
/** 如果是直播电商服务,并且是测试环境,则默认走公网访问 */
|
|
19
|
-
if (
|
|
19
|
+
if (process.env.SYSTEM_ENV === 'LIVE_ECS') {
|
|
20
20
|
this.isPublicEnv = true;
|
|
21
21
|
}
|
|
22
22
|
}
|