物理删除

main
jcadmin 2026-01-25 14:39:54 +08:00
parent c144baa60c
commit 59f0e326a0
1 changed files with 7 additions and 0 deletions

View File

@ -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();
}
}