hefei пре 1 година
родитељ
комит
7243c286ce
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/common/repositories/store/product/ProductRepository.php

+ 1 - 1
app/common/repositories/store/product/ProductRepository.php

@@ -1472,7 +1472,7 @@ class ProductRepository extends BaseRepository
1472 1472
                 if ($this->getWhereCount(['product_id' => $i, 'extension_type' => 1])) {
1473 1473
                     $sku = Db::name("store_product_attr_value")->where(['product_id' => $i])->column("extension_one");
1474 1474
                     foreach ($sku as $k) {
1475
-                        if ($k <= systemConfig('extension_one_rate'))
1475
+                        if ($k < systemConfig('extension_one_rate'))
1476 1476
                             throw new ValidateException('设置返利请高于系统设置的' . systemConfig('extension_one_rate') . '%比例');
1477 1477
                     }
1478 1478
                 }