diff --git a/app/admin/controller/StoreProduct.php b/app/admin/controller/StoreProduct.php index b61312b..b348eda 100644 --- a/app/admin/controller/StoreProduct.php +++ b/app/admin/controller/StoreProduct.php @@ -142,6 +142,6 @@ class StoreProduct extends BaseController $product_id = isset($param['product_id']) ? $param['product_id'] : 0; $type = isset($param['type']) ? $param['type'] : 0; - $this->model->delStoreProductById($product_id,$type); + $this->model->delStoreProductById($product_id,1); } }