@gt6/sdk 1.0.35 → 1.0.36

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.
@@ -789,7 +789,7 @@ class ProductsAPI {
789
789
  const matchingTemplate = shippingInfo.templates.find(t => t.templateId === template.templateId);
790
790
  if (matchingTemplate) {
791
791
  // 过滤出产品可销售区域的规则
792
- const productRegionIds = product.regions.map(r => r.regionId);
792
+ const productRegionIds = product.regions_Parent.map(r => r.regionId);
793
793
  const applicableRules = matchingTemplate.rules.filter(rule => productRegionIds.includes(rule.regionId));
794
794
  return {
795
795
  ...template,