From 571b4138e2a060b6805b6900210cac0a6ce354ff Mon Sep 17 00:00:00 2001 From: liuzx Date: Thu, 28 Jul 2022 17:00:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/context/context.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/context/context.go b/modules/context/context.go index 3f1de484e..8c7808466 100755 --- a/modules/context/context.go +++ b/modules/context/context.go @@ -6,7 +6,6 @@ package context import ( - "fmt" "html" "html/template" "io" @@ -148,7 +147,6 @@ func (ctx *Context) HTML(status int, name base.TplName) { func (ctx *Context) RenderWithErr(msg string, tpl base.TplName, form interface{}) { if form != nil { auth.AssignForm(form, ctx.Data) - fmt.Printf("ctx:", form) } ctx.Flash.ErrorMsg = msg ctx.Data["Flash"] = ctx.Flash