@pisell/pisellos 2.2.134 → 2.2.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.
|
@@ -1574,12 +1574,12 @@ export var PaymentModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
1574
1574
|
});
|
|
1575
1575
|
return _context16.abrupt("continue", 50);
|
|
1576
1576
|
case 46:
|
|
1577
|
-
console.log("[PaymentModule] \u6DFB\u52A0\u4EE3\u91D1\u5238\u652F\u4ED8\u9879:", {
|
|
1577
|
+
console.log("[PaymentModule] \u6DFB\u52A0\u4EE3\u91D1\u5238\u652F\u4ED8\u9879:", _objectSpread(_objectSpread({}, _voucherItem), {}, {
|
|
1578
1578
|
code: _voucherItem.code,
|
|
1579
1579
|
amount: _voucherItem.amount,
|
|
1580
1580
|
voucher_id: _voucherItem.voucher_id,
|
|
1581
1581
|
order_payment_type: orderPaymentType
|
|
1582
|
-
});
|
|
1582
|
+
}));
|
|
1583
1583
|
_context16.next = 49;
|
|
1584
1584
|
return _this5.addPaymentItemAsync(orderUuid, _voucherItem);
|
|
1585
1585
|
case 49:
|
|
@@ -15,7 +15,9 @@ export var formatWalletPassList2PreparePayments = function formatWalletPassList2
|
|
|
15
15
|
return {
|
|
16
16
|
voucher_id: item.id || 0,
|
|
17
17
|
amount: Number(item.edit_current_amount || getAvailableMaxAmount(item)) || 0,
|
|
18
|
-
tag: item.tag || ''
|
|
18
|
+
tag: item.tag || '',
|
|
19
|
+
wallet_pass_usage_unit: item.wallet_pass_usage_unit || {},
|
|
20
|
+
wallet_pass_use_value: item.wallet_pass_use_value || undefined
|
|
19
21
|
};
|
|
20
22
|
});
|
|
21
23
|
};
|
|
@@ -35,7 +35,9 @@ var formatWalletPassList2PreparePayments = (list) => {
|
|
|
35
35
|
return {
|
|
36
36
|
voucher_id: item.id || 0,
|
|
37
37
|
amount: Number(item.edit_current_amount || getAvailableMaxAmount(item)) || 0,
|
|
38
|
-
tag: item.tag || ""
|
|
38
|
+
tag: item.tag || "",
|
|
39
|
+
wallet_pass_usage_unit: item.wallet_pass_usage_unit || {},
|
|
40
|
+
wallet_pass_use_value: item.wallet_pass_use_value || void 0
|
|
39
41
|
};
|
|
40
42
|
});
|
|
41
43
|
};
|