diff --git a/internal/services/wxwork_kf_outbound_service.go b/internal/services/wxwork_kf_outbound_service.go index 5f2ae83..e2f428a 100644 --- a/internal/services/wxwork_kf_outbound_service.go +++ b/internal/services/wxwork_kf_outbound_service.go @@ -49,10 +49,12 @@ func (s *wxWorkKFOutboundService) DispatchPendingOutbox() int { count := s.doDispatchPendingOutbox(wxWorkKFOutboxBatchSize) totalCount += count - slog.Info("wxwork kf outbound dispatch loop", - "batch_count", count, - "total_count", totalCount, - ) + if count > 0 { + slog.Info("wxwork kf outbound dispatch loop", + "batch_count", count, + "total_count", totalCount, + ) + } if count == 0 { break