mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
update last step recommand use command
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user