...
|
...
|
@@ -127,9 +127,9 @@ class Cart extends Model |
|
|
$cart = $this->get([
|
|
|
'user_id' => $user['id'],
|
|
|
'goods_id' => $data['goods_id'],
|
|
|
'spec_sku_id' => $data['spec_sku_id'],
|
|
|
'goods_style' => $data['goods_style'],
|
|
|
'user_size_id' => $data['user_size_id'],
|
|
|
'spec_sku_id' => !empty($data['spec_sku_id']) ? $data['spec_sku_id'] : '',
|
|
|
'goods_style' => !empty($data['goods_style']) ? $data['goods_style'] : '',
|
|
|
'user_size_id' => !empty($data['goods_style']) ? $data['goods_style'] : 0,
|
|
|
'isbuynow' => '0'
|
|
|
]);
|
|
|
if(!empty($cart)){
|
...
|
...
|
|