Ver código fonte

帮开预订单

shish 2 anos atrás
pai
commit
07eaf5a9d5
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      biz-ghs/product/classes/ProductClass.php

+ 4 - 0
biz-ghs/product/classes/ProductClass.php

@@ -678,6 +678,10 @@ class ProductClass extends BaseClass
     //输出价格 ssh 20211009
     //输出价格 ssh 20211009
     public static function getFinalPrice($product, $level, $priceMap, $addPriceMap, $changePrice = 0, $buyNum = 0)
     public static function getFinalPrice($product, $level, $priceMap, $addPriceMap, $changePrice = 0, $buyNum = 0)
     {
     {
+        //帮开预订单
+        if($changePrice == 0.06){
+            return 0;
+        }
         //开单改价优先级最高
         //开单改价优先级最高
         if ($changePrice > 0) {
         if ($changePrice > 0) {
             return $changePrice;
             return $changePrice;