From b9b72a967a4053b5a6c12f9218b7f68394843909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=A1=83?= <1098598843@qq.com> Date: Wed, 1 Mar 2023 15:13:10 +0800 Subject: [PATCH] 1 --- app/admin/controller/StoreProduct.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }