@be-link/pos-cli-nodejs 1.0.46 → 1.0.47
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
|
@@ -26,6 +26,10 @@ declare class OrderCoreService extends BaseService implements Service.OrderCoreC
|
|
|
26
26
|
orderPayFailed(request: {
|
|
27
27
|
orderId: string;
|
|
28
28
|
}): Promise<void>;
|
|
29
|
+
compensateOrderPended(request: {
|
|
30
|
+
orderId: string;
|
|
31
|
+
isPaidCheck: boolean;
|
|
32
|
+
}): Promise<void>;
|
|
29
33
|
}
|
|
30
34
|
declare const orderCoreService: OrderCoreService;
|
|
31
35
|
export default orderCoreService;
|
|
@@ -73,6 +73,9 @@ class OrderCoreService extends service_1.default {
|
|
|
73
73
|
orderPayFailed(request) {
|
|
74
74
|
return (0, http_1.callApi)(this.getApiUrl(this.orderPayFailed), request);
|
|
75
75
|
}
|
|
76
|
+
compensateOrderPended(request) {
|
|
77
|
+
return (0, http_1.callApi)(this.getApiUrl(this.compensateOrderPended), request);
|
|
78
|
+
}
|
|
76
79
|
}
|
|
77
80
|
const orderCoreService = new OrderCoreService();
|
|
78
81
|
exports.default = orderCoreService;
|
|
@@ -385,5 +385,12 @@ export declare namespace Service {
|
|
|
385
385
|
orderPayFailed(request: {
|
|
386
386
|
orderId: string;
|
|
387
387
|
}): Promise<void>;
|
|
388
|
+
/**
|
|
389
|
+
* 订单支付成功补偿接口
|
|
390
|
+
*/
|
|
391
|
+
compensateOrderPended(request: {
|
|
392
|
+
orderId: string;
|
|
393
|
+
isPaidCheck: boolean;
|
|
394
|
+
}): Promise<void>;
|
|
388
395
|
}
|
|
389
396
|
}
|