From c822f2ab09dbe02fda266c1e343a43003a503e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8F=82=E7=8F=82?= Date: Mon, 9 Dec 2024 15:19:27 +0800 Subject: [PATCH] dev --- packages/bydauto/src/Commands/BYDAutoCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/bydauto/src/Commands/BYDAutoCommand.php b/packages/bydauto/src/Commands/BYDAutoCommand.php index 926fa9a..99036e5 100644 --- a/packages/bydauto/src/Commands/BYDAutoCommand.php +++ b/packages/bydauto/src/Commands/BYDAutoCommand.php @@ -122,7 +122,6 @@ public function action_push2contact() ->orderBy('id') ->take($num) ->get(); - $items->push($items1); $num = $this->ask('ID 倒叙取出', 100); $items2 = Testdrive::query() @@ -131,7 +130,8 @@ public function action_push2contact() ->orderBy('id', 'desc') ->take($num) ->get(); - $items->push($items2); + + $items = $items->merge($items1)->merge($items2); // 根据手机号码去除重 $items = $items->unique('mobile');