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]); } /**