fix
liuxiaolong
2019-11-13 70cdc2a3f5cdc456b68366c6dd3f40f03c39f1f8
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