xieruidong 2 éve
szülő
commit
721389318e
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      application/common/model/GoodsSku.php

+ 2 - 2
application/common/model/GoodsSku.php

@@ -66,9 +66,9 @@ class GoodsSku Extends Model
                 break;
             }
         }
-        if(!$amount) {
+        /*if(!$amount) {
             $amount = bcAddAll($this['amount_cost'], $this['amount_cost'] * 0.5);
-        }
+        }*/
 
         #单价,总价
         return [$amount,bcmul($amount,$num)];