update last step recommand use command

This commit is contained in:
xiaomlove
2023-06-24 01:54:38 +08:00
parent e1a7874273
commit 5caa0cc7a3
2 changed files with 4 additions and 4 deletions

View File

@@ -97,10 +97,8 @@ class Test extends Command
*/
public function handle()
{
$results = NexusDB::select("select torrent, peer_id, userid, group_concat(id) as ids from peers group by torrent, peer_id, userid having(count(*)) > 1 limit 20");
dump($results);
$rep = new ToolRepository();
$rep->removeDuplicatePeer();
$arr = ['aa' => ['bb' => []]];
dd(array_filter($arr));
}
}