Roc 1 year ago
parent
commit
808cf68652
1 changed files with 1 additions and 0 deletions
  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索引名称