From 3566c2630dc2ac33e03fb6df5ec2cd19e1625a68 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 27 九月 2019 15:49:55 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.1.14:10010/r/webserver --- controllers/dbtablesCon.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/controllers/dbtablesCon.go b/controllers/dbtablesCon.go index ae498b6..760fcc9 100644 --- a/controllers/dbtablesCon.go +++ b/controllers/dbtablesCon.go @@ -52,6 +52,9 @@ func (dbt DbTableController) FindAllDbTablesByCurServer(c *gin.Context) { var api dbapi.DbTableApi isDeleteStr := c.Query("isDelete") + if isDeleteStr == "" { + isDeleteStr = "0" + } arr,e := api.FindAllDbTablesByCurServer(isDeleteStr) if e == nil { util.ResponseFormat(c,code.Success, arr) -- Gitblit v1.8.0