From be98f7cf85b3e58d6fe569347157e671a16558bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8F=82=E7=8F=82?= Date: Fri, 15 Nov 2024 16:31:55 +0800 Subject: [PATCH] init --- packages/bydauto/src/Commands/BYDAutoCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bydauto/src/Commands/BYDAutoCommand.php b/packages/bydauto/src/Commands/BYDAutoCommand.php index efb5588..16edaf7 100644 --- a/packages/bydauto/src/Commands/BYDAutoCommand.php +++ b/packages/bydauto/src/Commands/BYDAutoCommand.php @@ -50,6 +50,7 @@ public function action_push2contact() ->where('status', Testdrive::STATUS_DRAFT) ->orderBy('id') ->get(); + $items = $items->unique('mobile'); $contacts = Contact::query() ->where('status', Contact::STATUS_PUBLISHED)