Explorar el Código

折扣价问题

shish hace 4 años
padre
commit
b39643a0cc
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      biz-ghs/product/classes/ProductClass.php

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

@@ -133,10 +133,6 @@ class ProductClass extends BaseClass
             $list[$k]['price'] = $price;
             $list[$k]['price'] = $price;
             $list[$k]['bigPrice'] = $price;
             $list[$k]['bigPrice'] = $price;
 
 
-            if(isset($v['discountPrice']) && $v['discountPrice'] > 0){
-                $list[$k]['discountPrice'] = $price;
-            }
-
             $smallPrice = bcdiv($price, $ratio, 2);
             $smallPrice = bcdiv($price, $ratio, 2);
             $list[$k]['smallPrice'] = $smallPrice;
             $list[$k]['smallPrice'] = $smallPrice;