|
@@ -250,7 +250,7 @@ class ProductService extends Service
|
|
|
DB::beginTransaction();
|
|
|
$time = time();
|
|
|
|
|
|
- Product::where('del_time',0)->where('id',$data['id'])->update(['del_time' => $time]);
|
|
|
+ Product::where('del_time',0)->whereIn('id',$data['id'])->update(['del_time' => $time]);
|
|
|
|
|
|
DB::commit();
|
|
|
}catch (\Exception $exception){
|