From b70b8530164540910164f3da316f8201c417aefa Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Thu, 3 Jun 2021 09:29:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor=F0=9F=8E=A8:=20=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/apis/api.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/apis/api.go b/common/apis/api.go index f435006..9f09ec2 100644 --- a/common/apis/api.go +++ b/common/apis/api.go @@ -34,10 +34,8 @@ func (e *Api) AddError(err error) { // MakeContext 设置http上下文 func (e *Api) MakeContext(c *gin.Context) *Api { - fmt.Println(&c) e.Context = c e.Logger = api.GetRequestLogger(c) - fmt.Println(&e.Context) return e }