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

物流跟踪&确认收货

... ... @@ -134,7 +134,7 @@ class ZjCartController extends HomeBaseController
$item['num'] = 1;
}
$total_num += $item['num'];
$total_price += $item['price'] * $item['num'];
$item['sum_price'] = $item['price'] * $item['num'];
$data[$k] = $item;
}
$address = Db::name('zj_user_place')
... ... @@ -166,9 +166,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'];
$min_num += $v['price_num'];
$total_price += $v['price'];
}
$attach = [
'min_cash' => $min_cash,
... ...
... ... @@ -605,7 +605,7 @@
<p class="peoplecoupon">
{$vo.integral}
</p>
<P class="people_price">¥{$vo.price}</P>
<P class="people_price">¥{$vo.sum_price}</P>
</div>
</div>
</div>
... ...