@be-link/pos-cli-nodejs 1.0.133 → 1.0.135
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
package/pos/modules/service.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ export default abstract class BaseService {
|
|
|
6
6
|
protected readonly natDevHost = "http://qgostaxv.pos-app.nmkh74o4.rlwzae9d.com:8090";
|
|
7
7
|
protected readonly natProdHost = "http://bxbvjnca.pos-app.cwl9ok0a.mk2u3r3l.com:8090";
|
|
8
8
|
/** 公网域名 */
|
|
9
|
-
protected readonly publicDevHost = "https://pos-
|
|
10
|
-
protected readonly publicProdHost = "https://pos
|
|
9
|
+
protected readonly publicDevHost = "https://pos-dev.wejourney.top";
|
|
10
|
+
protected readonly publicProdHost = "https://pos.wejourney.top";
|
|
11
11
|
constructor();
|
|
12
12
|
/** 获取API URL */
|
|
13
13
|
protected getApiUrl(func: Function): string;
|
package/pos/modules/service.js
CHANGED
|
@@ -11,8 +11,8 @@ class BaseService {
|
|
|
11
11
|
this.natDevHost = 'http://qgostaxv.pos-app.nmkh74o4.rlwzae9d.com:8090';
|
|
12
12
|
this.natProdHost = 'http://bxbvjnca.pos-app.cwl9ok0a.mk2u3r3l.com:8090';
|
|
13
13
|
/** 公网域名 */
|
|
14
|
-
this.publicDevHost = 'https://pos-
|
|
15
|
-
this.publicProdHost = 'https://pos
|
|
14
|
+
this.publicDevHost = 'https://pos-dev.wejourney.top';
|
|
15
|
+
this.publicProdHost = 'https://pos.wejourney.top';
|
|
16
16
|
/** 如果是云函数环境, 默认走公网访问 */
|
|
17
17
|
this.isPublicEnv = (process.env.CONTAINER_ENV || 'SCF') === 'SCF';
|
|
18
18
|
}
|
package/types.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare abstract class ItemInfoProxy {
|
|
|
22
22
|
abstract get cooperator(): string | undefined;
|
|
23
23
|
abstract get tourWholesaler(): string | undefined;
|
|
24
24
|
abstract get domesticTourOperator(): string | undefined;
|
|
25
|
+
abstract get tourContactInfo(): string | undefined;
|
|
25
26
|
abstract get tourPrincipal(): string | undefined | null;
|
|
26
27
|
abstract get periodStartTime(): number | undefined;
|
|
27
28
|
abstract get periodEndTime(): number | undefined;
|
|
@@ -62,6 +63,7 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
62
63
|
get cooperator(): string;
|
|
63
64
|
get tourWholesaler(): any;
|
|
64
65
|
get domesticTourOperator(): string;
|
|
66
|
+
get tourContactInfo(): string;
|
|
65
67
|
get tourPrincipal(): string | null;
|
|
66
68
|
get tourBeginPlace(): string;
|
|
67
69
|
get tourDays(): number;
|
|
@@ -117,6 +119,7 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
117
119
|
get cooperator(): undefined;
|
|
118
120
|
get tourWholesaler(): undefined;
|
|
119
121
|
get domesticTourOperator(): undefined;
|
|
122
|
+
get tourContactInfo(): undefined;
|
|
120
123
|
get tourPrincipal(): undefined;
|
|
121
124
|
get tourBeginPlace(): undefined;
|
|
122
125
|
get tourDays(): undefined;
|
|
@@ -31,6 +31,7 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
31
31
|
get cooperator() { return this.itemInfo.cooperator; }
|
|
32
32
|
get tourWholesaler() { return this.itemInfo.tourWholesaler; }
|
|
33
33
|
get domesticTourOperator() { return this.itemInfo.domesticTourOperator; }
|
|
34
|
+
get tourContactInfo() { return this.itemInfo.tourContactInfo; }
|
|
34
35
|
get tourPrincipal() { return this.itemInfo.tourPrincipal; }
|
|
35
36
|
get tourBeginPlace() { return this.itemInfo.tourBeginPlace; }
|
|
36
37
|
get tourDays() { return this.itemInfo.tourDays; }
|
|
@@ -80,6 +81,7 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
80
81
|
get cooperator() { return undefined; }
|
|
81
82
|
get tourWholesaler() { return undefined; }
|
|
82
83
|
get domesticTourOperator() { return undefined; }
|
|
84
|
+
get tourContactInfo() { return undefined; }
|
|
83
85
|
get tourPrincipal() { return undefined; }
|
|
84
86
|
get tourBeginPlace() { return undefined; }
|
|
85
87
|
get tourDays() { return undefined; }
|