作者 lihan
1 个管道 的构建 通过 耗费 0 秒

物流跟踪&确认收货

... ... @@ -167,9 +167,9 @@ class ZjCartController extends HomeBaseController
$min_num = 0; //该笔订单所需的最低积分
$total_price = 0; //该笔订单所需的总价格
foreach ($data as $k => $v) {
$min_cash += $v['price_cash'];
$min_num += $v['price_num'];
$total_price += $v['price'];
$min_cash += $v['price_cash'] * $v['num'];
$min_num += $v['price_num'] * $v['num'];
$total_price += $v['price'] * $v['num'];
}
$attach = [
'min_cash' => $min_cash,
... ...