diff --git a/app/command/HesuGoogleAiInquiryImportCommand.php b/app/command/HesuGoogleAiInquiryImportCommand.php
index 24c2db8..8a84d45 100644
--- a/app/command/HesuGoogleAiInquiryImportCommand.php
+++ b/app/command/HesuGoogleAiInquiryImportCommand.php
@@ -468,6 +468,10 @@ class HesuGoogleAiInquiryImportCommand extends Command
$date = date('Y-m-d');
foreach ($targetUserIds as $uid) {
+ if (count($digestGroups[(string)$uid] ?? []) === 0) {
+ $output->writeln('user ' . $uid . ' 未分到询盘,不发送');
+ continue;
+ }
if ($onlyUser > 0 && $uid !== $onlyUser) {
continue;
}
diff --git a/app/command/HesuGoogleInquiryImportCommand.php b/app/command/HesuGoogleInquiryImportCommand.php
index b3ec0d7..c1b4350 100644
--- a/app/command/HesuGoogleInquiryImportCommand.php
+++ b/app/command/HesuGoogleInquiryImportCommand.php
@@ -351,6 +351,10 @@ class HesuGoogleInquiryImportCommand extends Command
$date = date('Y-m-d');
foreach ($targetUserIds as $uid) {
+ if (count($digestGroups[(string)$uid] ?? []) === 0) {
+ $output->writeln('user ' . $uid . ' 未分到询盘,不发送');
+ continue;
+ }
if ($onlyUser > 0 && $uid !== $onlyUser) {
continue;
}
diff --git a/app/command/HesuGoogleWhatsAppImportCommand.php b/app/command/HesuGoogleWhatsAppImportCommand.php
index 0e2e22f..afdc2ad 100644
--- a/app/command/HesuGoogleWhatsAppImportCommand.php
+++ b/app/command/HesuGoogleWhatsAppImportCommand.php
@@ -387,6 +387,10 @@ class HesuGoogleWhatsAppImportCommand extends Command
$date = date('Y-m-d');
foreach ($targetUserIds as $uid) {
+ if (count($digestGroups[(string)$uid] ?? []) === 0) {
+ $output->writeln('user ' . $uid . ' 未分到询盘,不发送');
+ continue;
+ }
if ($onlyUser > 0 && $uid !== $onlyUser) {
continue;
}