Browse Source

新增指标

tuoling805 1 year ago
parent
commit
0d90ad9dfd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/edb_info.go

+ 3 - 0
controllers/edb_info.go

@@ -113,4 +113,7 @@ func (this *EdbInfoController) Add() {
 	}
 	// 更新ES
 	go logic.UpdateEs(edbInfo.EdbInfoId)
+	br.Ret = 200
+	br.Msg = "新增成功"
+	br.Data = edbInfo
 }