Merge branch 'v4.7.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v4.7.0dev

This commit is contained in:
From-wh 2023-03-07 10:28:30 +08:00
commit 777e1936e4

View File

@ -136,7 +136,7 @@ class SystemClearData extends AuthController
//删除商品收藏记录
/** @var StoreProductReplyServices $productRelation */
$productRelation = app()->make(StoreProductReplyServices::class);
$productRelation->delete([['product_id', 'in', $ids], ['category', '=', 'product']]);
$productRelation->delete([['product_id', 'in', $ids], ['reply_type', '=', 'product']]);
//删除商品的评论
/** @var StoreProductReplyServices $productReply */