处理回收站商品删除的错误
This commit is contained in:
parent
a09dc031b3
commit
ba205d9954
@ -241,7 +241,7 @@ class ProductDao extends BaseDao
|
|||||||
}
|
}
|
||||||
app()->make(SpuRepository::class)->getSearch(['product_id' => $id])->update(['is_del' => 1, 'status' => 0]);
|
app()->make(SpuRepository::class)->getSearch(['product_id' => $id])->update(['is_del' => 1, 'status' => 0]);
|
||||||
event('product.delete',compact('id'));
|
event('product.delete',compact('id'));
|
||||||
event('product.sell', ['product_id' => [$id]]);
|
event('product.sell', ['product_id' => [$id], 'status' => 0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user