liuxiaolong
2019-11-19 b5e236e28dee3e9481a48c615be22d70df44a42c
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