This commit is contained in:
mkm 2024-01-24 10:49:55 +08:00
parent 7db4482ad7
commit 69001f86c8

View File

@ -123,7 +123,7 @@ class StoreCart extends BaseController
//更新购物车
$cart_id = $cart['cart_id'];
$cart_num = ['cart_num' => ($cart['cart_num'] + $data['cart_num'])];
if($cart_num['source'] !=105){
if($data['source'] !=105){
if ($entryMerId && $entryMerId != $result['product']['mer_id']) {
$cart_num['source_id'] = $entryMerId;
$cart_num['source'] = StoreCartDao::SOURCE_STORE_CLOUD;