From c864a3441220f114d005deb4ced334623685ddd8 Mon Sep 17 00:00:00 2001 From: xiaomlove <353856593@qq.com> Date: Thu, 21 Nov 2024 01:08:55 +0800 Subject: [PATCH] seed_box_record_deleted --- app/Repositories/SeedBoxRepository.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Repositories/SeedBoxRepository.php b/app/Repositories/SeedBoxRepository.php index 487dc50f..12258688 100644 --- a/app/Repositories/SeedBoxRepository.php +++ b/app/Repositories/SeedBoxRepository.php @@ -116,6 +116,7 @@ public function getDetail($id) public function delete($id, $uid) { $this->clearCache(); + publish_model_event("seed_box_record_deleted", $id); return SeedBoxRecord::query()->whereIn('id', Arr::wrap($id))->where('uid', $uid)->delete(); }