From 4eeae3848f43be6e17113f67de351c51f435b57a Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 02 九月 2023 17:20:21 +0800
Subject: [PATCH] fix

---
 main.go |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/main.go b/main.go
index 97abfeb..927364e 100644
--- a/main.go
+++ b/main.go
@@ -7,6 +7,7 @@
 	"apsClient/nsq"
 	"apsClient/pkg/logx"
 	"apsClient/router"
+	"apsClient/service/plc_address"
 	"fmt"
 	"net/http"
 	"os"
@@ -34,7 +35,8 @@
 		logx.Errorf("crontab task Init err:%v", err)
 		return
 	}
-
+	//鍔犺浇plc鍐欏叆鍦板潃
+	plc_address.LoadAddressFromFile()
 	go shutdown()
 	logx.Infof("apsClient start serve...")
 	server := &http.Server{

--
Gitblit v1.8.0