diff --git a/app/common/repositories/store/product/ProductRepository.php b/app/common/repositories/store/product/ProductRepository.php index ecbacbe2..fa29b0a6 100644 --- a/app/common/repositories/store/product/ProductRepository.php +++ b/app/common/repositories/store/product/ProductRepository.php @@ -2587,15 +2587,17 @@ class ProductRepository extends BaseRepository if ($data['product_id'] && $data['type']) { switch ($data['type']) { case 'five': - $data['five'] = 5; + $data['type'] = 5; break; case 'two': $data['type'] = 6; break; case 'three': - $data['mer_id'] = 7; + $data['type'] = 7; + break; case 'seven': $data['type'] = 8; + break; } $store_product=Db::name('store_product')->where('product_id',$data['product_id'])->find(); $datas = [