rabin 2 years ago
parent
commit
9d3df8c014
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/mail/lib/Manage.php

+ 1 - 1
service/mail/lib/Manage.php

@@ -587,7 +587,7 @@ class Manage
             foreach($order_goods as $k1 => $v1){
                 $goods = Dever::load('goods/lib/info')->getPayInfo($v1['goods_id'], $v1['sku_id']);
                 if($goods['c_price'] && $goods['c_price'] >= 0){
-                    $c_price += $goods['c_price'];
+                    $c_price += $goods['c_price'] * $v1['num'];
                 }
             }
             $money += ($v['price'] - $c_price);