From ba205d9954173a465a9121e3715d3f3bd985754f Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Sat, 27 Jan 2024 09:40:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=9B=9E=E6=94=B6=E7=AB=99?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=88=A0=E9=99=A4=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/dao/store/product/ProductDao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/dao/store/product/ProductDao.php b/app/common/dao/store/product/ProductDao.php index 6f2f8e5a..6d57c328 100755 --- a/app/common/dao/store/product/ProductDao.php +++ b/app/common/dao/store/product/ProductDao.php @@ -241,7 +241,7 @@ class ProductDao extends BaseDao } app()->make(SpuRepository::class)->getSearch(['product_id' => $id])->update(['is_del' => 1, 'status' => 0]); event('product.delete',compact('id')); - event('product.sell', ['product_id' => [$id]]); + event('product.sell', ['product_id' => [$id], 'status' => 0]); } /**