From 8408e7de4b315a21d4cc8e7930129146e72a71ed Mon Sep 17 00:00:00 2001 From: picker <245799856@qq.com> Date: Mon, 6 May 2013 15:14:21 +0800 Subject: [PATCH] Update 13.5.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit inputs := this.Input() 定义了不用 ,直接干掉吧 --- ebook/13.5.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ebook/13.5.md b/ebook/13.5.md index 7cf261ea..18292ba1 100644 --- a/ebook/13.5.md +++ b/ebook/13.5.md @@ -126,7 +126,6 @@ DeleteController } func (this *DeleteController) Get() { - inputs := this.Input() id, _ := strconv.Atoi(this.Ctx.Params[":id"]) this.Data["Post"] = models.DelBlog(id) this.Ctx.Redirect(302, "/") @@ -256,4 +255,4 @@ edit.tpl ## links * [目录]() * 上一章: [数据库操作](<13.4.md>) - * 下一节: [小结](<13.6.md>) + * 下一节: [小结](<13.6.md>)