From 1e24626fa58f488f7744ce94e88a650f05c7a749 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 08 八月 2019 18:53:38 +0800
Subject: [PATCH] add log

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

diff --git a/controllers/dbtablesCon.go b/controllers/dbtablesCon.go
index cb21510..82daabe 100644
--- a/controllers/dbtablesCon.go
+++ b/controllers/dbtablesCon.go
@@ -98,6 +98,11 @@
 	data := esutil.GetEsDataReq(url, params, false)
 	//c.JSON(200, changeEsRespData(data, "淇敼鎴愬姛"))
 	result := changeEsRespData(data, "淇敼鎴愬姛")
+	if dbtable.Enable == 0 {
+		res := UpdateDbPersonsOfDbTable(dbtable.Id)
+		//fmt.Println("鍚屾淇敼浜哄憳鐘舵�佹垚鍔�----",res)
+		logger.Debug("鍚屾淇敼浜哄憳鐘舵�佹垚鍔�----", res)
+	}
 	if result["success"].(bool) {
 		//code.Success.Message = "淇敼搴曞簱鎴愬姛"
 		//if dbtable.Enable ==1 {

--
Gitblit v1.8.0