调整云商品下单

This commit is contained in:
luofei 2023-05-25 11:07:24 +08:00
parent 5be47b6a30
commit cae80dfa69

View File

@ -1325,7 +1325,8 @@ class StoreOrderCreateRepository extends StoreOrderRepository
'integral' => $cart['integral'] ? bcdiv($cart['integral']['use'], $cart['cart_num'], 0) : 0,
'integral_total' => $cart['integral'] ? $cart['integral']['use'] : 0,
'product_type' => $cart['product_type'],
'source_mer_id' => $cart['source'] == StoreCartDao::SOURCE_CLOUD ? $cart['source_id'] : 0,
'source' => $cart['source'],
'source_id' => $cart['source_id'],
'cart_info' => json_encode($order_cart)
];
}