From b555874608be2e4bb40cceba60b497c04caef842 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 12 九月 2023 14:17:51 +0800
Subject: [PATCH] 三菱协议更改

---
 main.go |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/main.go b/main.go
index 927364e..386843c 100644
--- a/main.go
+++ b/main.go
@@ -7,6 +7,7 @@
 	"apsClient/nsq"
 	"apsClient/pkg/logx"
 	"apsClient/router"
+	"apsClient/service"
 	"apsClient/service/plc_address"
 	"fmt"
 	"net/http"
@@ -37,6 +38,10 @@
 	}
 	//鍔犺浇plc鍐欏叆鍦板潃
 	plc_address.LoadAddressFromFile()
+
+	//鎻愬墠鍔犺浇浠诲姟
+	service.NewTaskService().GetTask()
+
 	go shutdown()
 	logx.Infof("apsClient start serve...")
 	server := &http.Server{

--
Gitblit v1.8.0