Compare commits

...

1 Commits

Author SHA1 Message Date
mkm
d02691ccd1 更新 app/api/lists/order/CartList.php 2025-04-02 16:11:10 +08:00

View File

@ -84,6 +84,9 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists
}
if ($off_activity == 0 && $user_ship == 5 && $product['top_cate_id'] == 15189) {
$product['price'] = $product['cost'];
}
if ($user_ship == 4 ) {
$product['price'] = $product['cost'];
}
$item['goods_total_price'] = bcmul($item['cart_num'], $product['price'], 2);
$this->total_price = bcadd($this->total_price, $item['goods_total_price'], 2);