@be-link/pos-cli-nodejs 1.0.188 → 1.0.190

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": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.188",
3
+ "version": "1.0.190",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -421,6 +421,8 @@ export declare namespace Service {
421
421
  fromUserRole?: string;
422
422
  /** 预订人手机号 */
423
423
  reserveMobile?: string;
424
+ /** ECS 门店 ID(写入订单表快照) */
425
+ ecsStoreId?: string;
424
426
  };
425
427
  commodityInfo: {
426
428
  /** 商品ID */
@@ -428,8 +430,6 @@ export declare namespace Service {
428
430
  /** 购买数量 */
429
431
  quantity: number;
430
432
  };
431
- /** ECS 门店 ID(写入订单表快照) */
432
- ecsStoreId?: string;
433
433
  }
434
434
  /**
435
435
  * 定金订单补全请求:完善订单信息并拉起尾款支付(POS `/core/deposit-order-complete`)
@@ -16,7 +16,7 @@ class BaseService {
16
16
  /** 如果是云函数环境, 默认走公网访问 */
17
17
  this.isPublicEnv = (process.env.CONTAINER_ENV || 'SCF') === 'SCF';
18
18
  /** 如果是直播电商服务,并且是测试环境,则默认走公网访问 */
19
- if (env_1.default.isPPE() && process.env.SYSTEM_ENV === 'LIVE_ECS') {
19
+ if (process.env.SYSTEM_ENV === 'LIVE_ECS') {
20
20
  this.isPublicEnv = true;
21
21
  }
22
22
  }