@pisell/pisellos 2.3.215 → 2.3.217

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.
@@ -416,7 +416,7 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
416
416
  key: "loadVenueCatalogPool",
417
417
  value: (function () {
418
418
  var _loadVenueCatalogPool = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
419
- var _this$otherParams5, _params$product_ids, _params$category_ids, _params$extension_typ, _ref4, _data$total;
419
+ var _this$otherParams5, _params$product_ids, _params$category_ids, _params$extension_typ, _ref4, _ref5, _data$total;
420
420
  var params,
421
421
  channelMap,
422
422
  channel,
@@ -467,6 +467,9 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
467
467
  } : {}), {}, {
468
468
  front_end_cache_id: params.cacheId
469
469
  }), {
470
+ // Core dispatches Kiosk to its local product query; PC/H5 without that
471
+ // route keep using HTTP. open_quotation: 0 preserves the raw venue pool.
472
+ osServer: true,
470
473
  useCache: false,
471
474
  customToast: function customToast() {}
472
475
  });
@@ -481,7 +484,7 @@ export var ProductList = /*#__PURE__*/function (_BaseModule) {
481
484
  code: 'VENUE_CATALOG_LOAD_FAILED'
482
485
  });
483
486
  case 9:
484
- total = (_ref4 = (_data$total = data.total) !== null && _data$total !== void 0 ? _data$total : data.total_count) !== null && _ref4 !== void 0 ? _ref4 : data.total_num;
487
+ total = (_ref4 = (_ref5 = (_data$total = data.total) !== null && _data$total !== void 0 ? _data$total : data.total_count) !== null && _ref5 !== void 0 ? _ref5 : data.total_num) !== null && _ref4 !== void 0 ? _ref4 : data.count;
485
488
  if (!(total != null && Number.isFinite(Number(total)) && Number(total) > data.list.length || total == null && data.list.length >= 500)) {
486
489
  _context7.next = 12;
487
490
  break;
@@ -289,6 +289,7 @@ declare class Server {
289
289
  * 存储订阅者信息,便于数据变更时推送最新结果
290
290
  */
291
291
  private handleProductQuery;
292
+ private queryRawKioskProductPool;
292
293
  /**
293
294
  * ProductList callers such as standalone retail pages do not always have a selected schedule.
294
295
  * In that case query against the current local time so menu availability can still be evaluated.