Roc hai 1 ano
pai
achega
808cf68652
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      utils/config.go

+ 1 - 0
utils/config.go

@@ -185,6 +185,7 @@ func init() {
 		ES_URL = config["es_url"]
 		ES_USERNAME = config["es_username"]
 		ES_PASSWORD = config["es_password"]
+		DATA_INDEX_NAME = config["data_index_name"]
 	}
 
 	// 数据指标库ES索引名称