From 59f0e326a0997a0acad62a9e201ca269bb00e78b Mon Sep 17 00:00:00 2001 From: jcadmin Date: Sun, 25 Jan 2026 14:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E7=90=86=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/Table/OptimizeBills.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Console/Commands/Table/OptimizeBills.php b/app/Console/Commands/Table/OptimizeBills.php index c4df3024..96ff6a28 100644 --- a/app/Console/Commands/Table/OptimizeBills.php +++ b/app/Console/Commands/Table/OptimizeBills.php @@ -2,6 +2,8 @@ namespace App\Console\Commands\Table; +use App\Model\AliAgentNotice; +use App\Model\AliNotice; use App\Model\Config; use App\Model\Customer\CustomerBill; use App\Model\Customer\CustomerFreeze; @@ -63,5 +65,10 @@ class OptimizeBills extends Command ->forceDelete(); ShopFreeze::where('created_at', '<', $currentDate) ->forceDelete(); + // notice + AliAgentNotice::where('created_at', '<', $currentDate) + ->forceDelete(); + AliNotice::where('created_at', '<', $currentDate) + ->forceDelete(); } }