@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.189",
3
+ "version": "1.0.191",
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 昵称(写入订单联系人 contactInfo) */
425
+ ecsNickName?: string;
424
426
  /** ECS 门店 ID(写入订单表快照) */
425
427
  ecsStoreId?: string;
426
428
  };
@@ -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
  }
package/types.d.ts CHANGED
@@ -75,6 +75,8 @@ export interface IPositiveOrder {
75
75
  mobile: string;
76
76
  /** 预定手机号 */
77
77
  reserveMobile?: string;
78
+ /** ECS 昵称 */
79
+ ecsNickName?: string;
78
80
  };
79
81
  /** 下单人门店 */
80
82
  ecsStoreId: string;