From bbe429af4f2a038627eaff69b38a58dabc2f4661 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期二, 19 十一月 2019 14:52:34 +0800 Subject: [PATCH] update esSearch --- controllers/taglist.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/controllers/taglist.go b/controllers/taglist.go index 485bfb4..2f3c5d9 100644 --- a/controllers/taglist.go +++ b/controllers/taglist.go @@ -15,6 +15,7 @@ "github.com/gin-gonic/gin" ) +// @Security ApiKeyAuth // @Summary 鏍囩鍒楄〃 // @Description 杩斿洖搴曞簱鏍囩 // @Accept json @@ -36,6 +37,8 @@ tokenRes["title"] = dt.TableName tokenRes["value"] = dt.Id tokenRes["status"] = dt.IsDelete + tokenRes["bwType"] = dt.BwType //0锛氱櫧鍚嶅崟锛�1锛氶粦鍚嶅崟 + tokenRes["analyServerId"] = dt.AnalyServerId //涓虹┖鏄悓姝ュ簱锛屼笉涓虹┖鏄湰鍦板簱 if dt.IsDelete == 1 { if GetTotalFromDb(dt.Id) == false { continue -- Gitblit v1.8.0