...
|
...
|
@@ -224,10 +224,16 @@ class CartModel |
|
|
{
|
|
|
$result = array('code' => 400, 'message' => self::ERROR_400_MESSAGE);
|
|
|
|
|
|
if (empty($productSku)) {
|
|
|
return $result;
|
|
|
}
|
|
|
|
|
|
$addCart = CartData::addToCart($productSku, $buyNumber, $goodsType, $isEdit, $promotionId, $uid, $shoppingKey);
|
|
|
if ($addCart && isset($addCart['code'])) {
|
|
|
$result = $addCart;
|
|
|
}else{
|
|
|
}
|
|
|
|
|
|
if (empty($addCart) || (isset($addCart['code']) && $addCart['code'] !== 200) ) {
|
|
|
UdpLog::info('【购物车】校验参数传递auth','productSku:'.$productSku.'buyNumber:'.$buyNumber.'goodsType:'.$goodsType,'isEdit:'.$isEdit.'promotionId:'.$promotionId.'uid:'.$uid.'shoppingKey:'.$shoppingKey);
|
|
|
}
|
|
|
|
...
|
...
|
|