From 1e89d5c86f7a26414f0ca4820f8c55981aaf890f Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 02 八月 2019 10:48:12 +0800
Subject: [PATCH] fix router

---
 controllers/dbtablesCon.go |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/controllers/dbtablesCon.go b/controllers/dbtablesCon.go
index e942fc8..cb21510 100644
--- a/controllers/dbtablesCon.go
+++ b/controllers/dbtablesCon.go
@@ -100,6 +100,23 @@
 	result := changeEsRespData(data, "淇敼鎴愬姛")
 	if result["success"].(bool) {
 		//code.Success.Message = "淇敼搴曞簱鎴愬姛"
+		//if dbtable.Enable ==1 {
+		//	discovery.AddDbMessage(&protomsg.EsPersonCacheChange{
+		//		Type: protomsg.EsCacheChanged_T_DbTable,
+		//		PersonId: "",
+		//		TableId: []string{ dbtable.Id },
+		//		Feature: "",
+		//		Action: protomsg.DbAction_Insert,
+		//	})
+		//} else {
+		//	discovery.AddDbMessage(&protomsg.EsPersonCacheChange{
+		//		Type: protomsg.EsCacheChanged_T_DbTable,
+		//		PersonId: "",
+		//		TableId: []string{ dbtable.Id },
+		//		Feature: "",
+		//		Action: protomsg.DbAction_Delete,
+		//	})
+		//}
 		util.ResponseFormat(c, code.Success, result["data"])
 	} else {
 		//code.ServiceInsideError.Message += result["msg"].(string)

--
Gitblit v1.8.0