@pisell/pisellos 2.3.27 → 2.3.28
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.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// 导出评估器
|
|
2
|
+
export { PromotionEvaluator } from "./evaluator";
|
|
3
|
+
|
|
4
|
+
// 导出适配器
|
|
5
|
+
export { PromotionAdapter } from "./adapter";
|
|
6
|
+
export { default } from "./adapter";
|
|
7
|
+
|
|
8
|
+
// 导出策略配置示例常量
|
|
9
|
+
export { X_ITEMS_FOR_Y_PRICE_STRATEGY, BUY_X_GET_Y_FREE_STRATEGY } from "./examples";
|
|
@@ -2120,7 +2120,7 @@ export var OrderModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
2120
2120
|
var secondary = preferred === existing ? incoming : existing;
|
|
2121
2121
|
var merged = _objectSpread(_objectSpread({}, secondary), preferred);
|
|
2122
2122
|
var fieldsToPreserve = ['order_id', 'external_sale_number', 'order_number', 'shop_order_number', 'shop_full_order_number'];
|
|
2123
|
-
var incomingPatchFields = ['payment_status', 'status', 'shipping_status', 'updated_at', 'shop_discount', 'summary', 'products', 'bookings', 'note', 'customer_id', 'customer_name', 'customer', 'holder', 'contacts_info', 'phone', 'email', 'relation_forms'
|
|
2123
|
+
var incomingPatchFields = ['payment_status', 'status', 'shipping_status', 'updated_at', 'shop_discount', 'summary', 'products', 'bookings', 'note', 'customer_id', 'customer_name', 'customer', 'holder', 'contacts_info', 'phone', 'email', 'relation_forms'];
|
|
2124
2124
|
var mergedRecord = merged;
|
|
2125
2125
|
var preferredRecord = preferred;
|
|
2126
2126
|
var secondaryRecord = secondary;
|
|
@@ -1316,8 +1316,7 @@ var OrderModule = class extends import_BaseModule.BaseModule {
|
|
|
1316
1316
|
"contacts_info",
|
|
1317
1317
|
"phone",
|
|
1318
1318
|
"email",
|
|
1319
|
-
"relation_forms"
|
|
1320
|
-
"vouchers"
|
|
1319
|
+
"relation_forms"
|
|
1321
1320
|
];
|
|
1322
1321
|
const mergedRecord = merged;
|
|
1323
1322
|
const preferredRecord = preferred;
|