...
|
...
|
@@ -34,7 +34,7 @@ class CartData |
|
|
$param = Yohobuy::param();
|
|
|
$param['method'] = 'app.Shopping.add';
|
|
|
$param['product_sku'] = $productSku;
|
|
|
$param['buy_number'] = $buyNumber;
|
|
|
$param['buy_number'] = intval($buyNumber);
|
|
|
$param['goods_type'] = $goodsType;
|
|
|
$param['edit_product_sku'] = $isEdit;
|
|
|
$param['selected'] = 'Y';
|
...
|
...
|
@@ -199,10 +199,10 @@ class CartData |
|
|
$param['product_sku'] = $sku;
|
|
|
|
|
|
if (!empty($increaseNum)) {
|
|
|
$param['increase_number'] = $increaseNum;
|
|
|
$param['increase_number'] = intval($increaseNum);
|
|
|
}
|
|
|
if (!empty($decreaseNum)) {
|
|
|
$param['decrease_number'] = $decreaseNum;
|
|
|
$param['decrease_number'] = intval($decreaseNum);
|
|
|
}
|
|
|
|
|
|
if (!empty($uid)) {
|
...
|
...
|
|