fix unit test cases for ghttp/gres

This commit is contained in:
John
2019-09-04 19:23:19 +08:00
parent 16103c43eb
commit e4d34abd7e
8 changed files with 36 additions and 15 deletions

View File

@ -9,7 +9,6 @@ import (
func main() {
s := g.Server()
s.SetSessionMaxAge(60)
s.SetSessionIdName("gpadminssid")
s.BindHandler("/set", func(r *ghttp.Request) {
r.Session.Set("time", gtime.Second())
r.Response.Write("ok")