Parcourir la source

Merge branch 'aj_index_add'

tuoling805 il y a 1 an
Parent
commit
0b3272a5ff
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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
 }