Browse Source

折扣价问题

shish 4 years ago
parent
commit
b39643a0cc
1 changed files with 0 additions and 4 deletions
  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]['bigPrice'] = $price;
 
-            if(isset($v['discountPrice']) && $v['discountPrice'] > 0){
-                $list[$k]['discountPrice'] = $price;
-            }
-
             $smallPrice = bcdiv($price, $ratio, 2);
             $list[$k]['smallPrice'] = $smallPrice;