diff --git a/internal/core/application.go b/internal/core/application.go index e5c3629..3658090 100644 --- a/internal/core/application.go +++ b/internal/core/application.go @@ -115,7 +115,7 @@ func NewApplication(configPath string) (*Application, error) { } else { logger.Info("当前运行模式: lora_mesh。初始化 LoRa Mesh 传输层和占位符监听器。") listenHandler = webhook.NewPlaceholderListener(logger) - tp, err := lora.NewLoRaMeshUartPassthroughTransport(cfg.LoraMesh, logger) + tp, err := lora.NewLoRaMeshUartPassthroughTransport(cfg.LoraMesh, logger, areaControllerRepo, pendingCollectionRepo, deviceRepo, sensorDataRepo) loraListener = tp comm = tp if err != nil {