@be-link/pos-cli-nodejs 0.0.67 → 0.0.69
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
|
@@ -31,6 +31,7 @@ declare class OrderFulfillService extends BaseService implements Service.orderFu
|
|
|
31
31
|
markServiceNoticeRead(request: Service.Request.markServiceNoticeRead): Promise<void>;
|
|
32
32
|
markItineraryRead(request: Service.Request.markItineraryRead): Promise<void>;
|
|
33
33
|
markServiceNoticeAuth(request: Service.Request.markServiceNoticeAuth): Promise<void>;
|
|
34
|
+
mgetSkuChangeCount(request: string[]): Promise<Record<string, number>>;
|
|
34
35
|
}
|
|
35
36
|
declare const orderFulfillService: OrderFulfillService;
|
|
36
37
|
export default orderFulfillService;
|
|
@@ -94,6 +94,9 @@ class OrderFulfillService extends service_1.default {
|
|
|
94
94
|
markServiceNoticeAuth(request) {
|
|
95
95
|
return (0, http_1.callApi)(this.getApiUrl(this.markServiceNoticeAuth), request);
|
|
96
96
|
}
|
|
97
|
+
mgetSkuChangeCount(request) {
|
|
98
|
+
return (0, http_1.callApi)(this.getApiUrl(this.mgetSkuChangeCount), request);
|
|
99
|
+
}
|
|
97
100
|
}
|
|
98
101
|
const orderFulfillService = new OrderFulfillService();
|
|
99
102
|
exports.default = orderFulfillService;
|
|
@@ -432,5 +432,10 @@ export declare namespace Service {
|
|
|
432
432
|
* @path /fulfill/mark-order-purchase-insurance
|
|
433
433
|
*/
|
|
434
434
|
markOrderPurchaseInsurance(request: Request.markOrderPurchaseInsurance): Promise<void>;
|
|
435
|
+
/**
|
|
436
|
+
* 批量获取订单改期次数
|
|
437
|
+
* @path /fulfill/mget-sku-change-count
|
|
438
|
+
*/
|
|
439
|
+
mgetSkuChangeCount(request: string[]): Promise<Record<string, number>>;
|
|
435
440
|
}
|
|
436
441
|
}
|
package/pos/modules/service.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export default abstract class BaseService {
|
|
|
3
3
|
/** URL一级路径 */
|
|
4
4
|
protected abstract prefixUrl: string;
|
|
5
5
|
/** 子网域名 */
|
|
6
|
-
protected readonly natDevHost = "http://qgostaxv.pos-app.nmkh74o4.rlwzae9d.com";
|
|
7
|
-
protected readonly natProdHost = "http://bxbvjnca.pos-app.cwl9ok0a.mk2u3r3l.com";
|
|
6
|
+
protected readonly natDevHost = "http://qgostaxv.pos-app.nmkh74o4.rlwzae9d.com:8090";
|
|
7
|
+
protected readonly natProdHost = "http://bxbvjnca.pos-app.cwl9ok0a.mk2u3r3l.com:8090";
|
|
8
8
|
/** 公网域名 */
|
|
9
9
|
protected readonly publicDevHost = "https://pos-app-74680-5-1304510571.sh.run.tcloudbase.com";
|
|
10
10
|
protected readonly publicProdHost = "https://pos-app-60660-10-1304510571.sh.run.tcloudbase.com";
|
package/pos/modules/service.js
CHANGED
|
@@ -8,8 +8,8 @@ const string_1 = require("../../utils/string");
|
|
|
8
8
|
class BaseService {
|
|
9
9
|
constructor() {
|
|
10
10
|
/** 子网域名 */
|
|
11
|
-
this.natDevHost = 'http://qgostaxv.pos-app.nmkh74o4.rlwzae9d.com';
|
|
12
|
-
this.natProdHost = 'http://bxbvjnca.pos-app.cwl9ok0a.mk2u3r3l.com';
|
|
11
|
+
this.natDevHost = 'http://qgostaxv.pos-app.nmkh74o4.rlwzae9d.com:8090';
|
|
12
|
+
this.natProdHost = 'http://bxbvjnca.pos-app.cwl9ok0a.mk2u3r3l.com:8090';
|
|
13
13
|
/** 公网域名 */
|
|
14
14
|
this.publicDevHost = 'https://pos-app-74680-5-1304510571.sh.run.tcloudbase.com';
|
|
15
15
|
this.publicProdHost = 'https://pos-app-60660-10-1304510571.sh.run.tcloudbase.com';
|