mirror of
https://gitee.com/johng/gf
synced 2026-06-30 11:05:11 +08:00
fix unit test cases for ghttp/gres
This commit is contained in:
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user