@be-link/ecommerce-trade-service-node-sdk 0.1.69 → 0.1.70
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.
|
@@ -445,6 +445,10 @@ export declare namespace PosOrderQueryService {
|
|
|
445
445
|
isFullRefund: boolean;
|
|
446
446
|
/** 退货时商品核销状态 */
|
|
447
447
|
verificationStatus?: ENUM.OrderVerificationStatus;
|
|
448
|
+
/** 已核销退货数量 */
|
|
449
|
+
verifiedRefundQuantity: number;
|
|
450
|
+
/** 未核销退货数量 */
|
|
451
|
+
unverifiedRefundQuantity: number;
|
|
448
452
|
/** 退款资源信息 */
|
|
449
453
|
resource?: {
|
|
450
454
|
/** 资源ID */
|
|
@@ -206,6 +206,10 @@ export declare namespace RosOrderQueryService {
|
|
|
206
206
|
operatorNickname?: string;
|
|
207
207
|
/** 上传的图片/视频附件 */
|
|
208
208
|
attachments?: string[];
|
|
209
|
+
/** 已核销已退货数量 */
|
|
210
|
+
verifiedRefundQuantity: number;
|
|
211
|
+
/** 未核销已退货数量 */
|
|
212
|
+
unverifiedRefundQuantity: number;
|
|
209
213
|
};
|
|
210
214
|
/** 正向订单信息 */
|
|
211
215
|
positiveOrder: {
|
package/package.json
CHANGED
package/utils/http.js
CHANGED
|
@@ -16,8 +16,8 @@ const HTTP_CONFIG = {
|
|
|
16
16
|
maxFreeSockets: 1000, // 保持空闲连接数(减少连接重建开销)
|
|
17
17
|
maxTotalSockets: 10000, // 所有 host 总连接数上限(支持多个服务同时调用)
|
|
18
18
|
keepAliveMsecs: 60000, // 保持连接60秒
|
|
19
|
-
timeout:
|
|
20
|
-
requestTimeout:
|
|
19
|
+
timeout: 10000, // socket超时10秒
|
|
20
|
+
requestTimeout: 10000, // 请求超时10秒
|
|
21
21
|
retries: 0, // 不重试(失败直接返回)
|
|
22
22
|
retryBaseDelay: 200, // 基础重试延迟200ms
|
|
23
23
|
};
|