a39139c6 by lqixv

Update Quickstart.md

纠偏:从上面的例子中,并不能知道 DelSession(name string) 方法。
1 parent 42370b5e
...@@ -626,7 +626,7 @@ response可能会有几种情况: ...@@ -626,7 +626,7 @@ response可能会有几种情况:
626 626
627 1. 模板输出 627 1. 模板输出
628 628
629 模板输出上面模板介绍里面已经介绍,beego会在执行完相应的Controller里面的对应的Method之后输出到模板。 629 上面模板介绍里面已经介绍,beego会在执行完相应的Controller里面的对应的Method之后输出到模板。
630 630
631 2. 跳转 631 2. 跳转
632 632
...@@ -665,7 +665,7 @@ beego中使用session相当方便,只要在main入口函数中设置如下: ...@@ -665,7 +665,7 @@ beego中使用session相当方便,只要在main入口函数中设置如下:
665 this.TplNames = "index.tpl" 665 this.TplNames = "index.tpl"
666 } 666 }
667 667
668 上面的例子中我们知道session有几个方便的方法: 668 session有几个方便的方法:
669 669
670 - SetSession(name string, value interface{}) 670 - SetSession(name string, value interface{})
671 - GetSession(name string) interface{} 671 - GetSession(name string) interface{}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!