From 550bd8a218224e6c73201f444387d66a299f438b Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 15 八月 2023 19:56:35 +0800
Subject: [PATCH] 消费排程任务存储任务数据,给前端展示任务列表

---
 conf/config.go |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/conf/config.go b/conf/config.go
index 44b9eab..60569a2 100644
--- a/conf/config.go
+++ b/conf/config.go
@@ -5,6 +5,7 @@
 	"apsClient/pkg/logx"
 	"apsClient/pkg/mysqlx"
 	"apsClient/pkg/redisx"
+	"apsClient/pkg/sqlitex"
 	"flag"
 	"github.com/spf13/viper"
 	"log"
@@ -80,6 +81,12 @@
 		ApsServer string
 	}
 
+	nsqConf struct {
+		NodeId         string
+		NsqdAddr       string
+		NsqlookupdAddr string
+	}
+
 	config struct {
 		// 绯荤粺閰嶇疆
 		System System
@@ -89,6 +96,9 @@
 
 		// mysql閰嶇疆
 		Mysql mysqlx.Conf
+
+		// mysql閰嶇疆
+		Sqlite sqlitex.Conf
 
 		// redis閰嶇疆
 		Redis redisx.Conf
@@ -110,6 +120,8 @@
 
 		//Services Address
 		Services Services
+
+		NsqConf nsqConf
 	}
 )
 

--
Gitblit v1.8.0