This commit is contained in:
parent
669b0cbfce
commit
c822f2ab09
@ -122,7 +122,6 @@ public function action_push2contact()
|
|||||||
->orderBy('id')
|
->orderBy('id')
|
||||||
->take($num)
|
->take($num)
|
||||||
->get();
|
->get();
|
||||||
$items->push($items1);
|
|
||||||
|
|
||||||
$num = $this->ask('ID 倒叙取出', 100);
|
$num = $this->ask('ID 倒叙取出', 100);
|
||||||
$items2 = Testdrive::query()
|
$items2 = Testdrive::query()
|
||||||
@ -131,7 +130,8 @@ public function action_push2contact()
|
|||||||
->orderBy('id', 'desc')
|
->orderBy('id', 'desc')
|
||||||
->take($num)
|
->take($num)
|
||||||
->get();
|
->get();
|
||||||
$items->push($items2);
|
|
||||||
|
$items = $items->merge($items1)->merge($items2);
|
||||||
|
|
||||||
// 根据手机号码去除重
|
// 根据手机号码去除重
|
||||||
$items = $items->unique('mobile');
|
$items = $items->unique('mobile');
|
||||||
|
Loading…
Reference in New Issue
Block a user