This commit is contained in:
TL 2022-08-23 14:41:35 +08:00
parent 60e49ee22a
commit 802ae9dbd9
1 changed files with 1 additions and 1 deletions

View File

@ -246,6 +246,6 @@ class ProductRepo
public static function updateStatusByIds($ids, $status)
{
Product::query()->whereIn('id', $ids)->update('status', $status);
Product::query()->whereIn('id', $ids)->update(['status' => $status]);
}
}