From f86d25d5143847692779dd4e81b7e47d9b25376e Mon Sep 17 00:00:00 2001 From: sunty <suntianyu0923@163.com> Date: 星期二, 30 七月 2019 11:16:15 +0800 Subject: [PATCH] fix delete dbtable add GetTotalFromDb and EsReq --- controllers/user.go | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/controllers/user.go b/controllers/user.go index 9212b41..0f0b1e2 100644 --- a/controllers/user.go +++ b/controllers/user.go @@ -2,7 +2,6 @@ import ( "basic.com/dbapi.git" - "fmt" "github.com/gin-gonic/gin" "net/http" "time" @@ -67,7 +66,6 @@ func (controller UserController) Current(c *gin.Context) { authDriver := auth.GenerateAuthDriver() user := (*authDriver).User(c) - fmt.Println("current:",user) if user !=nil { c.JSON(http.StatusOK,user) } else { -- Gitblit v1.8.0