Skip to content

Commit 8408e7d

Browse files
committed
Update 13.5.md
inputs := this.Input() 定义了不用 ,直接干掉吧
1 parent efaa43e commit 8408e7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ebook/13.5.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ DeleteController
126126
}
127127

128128
func (this *DeleteController) Get() {
129-
inputs := this.Input()
130129
id, _ := strconv.Atoi(this.Ctx.Params[":id"])
131130
this.Data["Post"] = models.DelBlog(id)
132131
this.Ctx.Redirect(302, "/")
@@ -256,4 +255,4 @@ edit.tpl
256255
## links
257256
* [目录](<preface.md>)
258257
* 上一章: [数据库操作](<13.4.md>)
259-
* 下一节: [小结](<13.6.md>)
258+
* 下一节: [小结](<13.6.md>)

0 commit comments

Comments
 (0)