mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
Refactoring cleanup tasks to update user seed time and seed comments etc.
This commit is contained in:
@@ -26,6 +26,7 @@ use App\Models\User;
|
||||
use App\Models\UserBanLog;
|
||||
use App\Repositories\AgentAllowRepository;
|
||||
use App\Repositories\AttendanceRepository;
|
||||
use App\Repositories\CleanupRepository;
|
||||
use App\Repositories\ExamRepository;
|
||||
use App\Repositories\HitAndRunRepository;
|
||||
use App\Repositories\MeiliSearchRepository;
|
||||
@@ -97,8 +98,9 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$arr = ['aa' => ['bb' => []]];
|
||||
dd(array_filter($arr));
|
||||
$redis = NexusDB::redis();
|
||||
$r = CleanupRepository::recordBatch($redis, 99, 100);
|
||||
dd($r);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user