xieruidong 2 년 전
부모
커밋
721389318e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)];