缓存测试成功
This commit is contained in:
+5
-3
@@ -49,9 +49,11 @@ func main() {
|
||||
"app": hotime.Proj{
|
||||
"index": hotime.Ctr{
|
||||
"test": func(this *hotime.Context) {
|
||||
fmt.Println(this.Session("test").Data)
|
||||
this.Session("test", 145484978484)
|
||||
fmt.Println(this.Session("test").Data)
|
||||
data := this.Db.Get("cached", "*")
|
||||
fmt.Println(data)
|
||||
fmt.Println(this.Session("test").ToCeilInt())
|
||||
this.Session("test1", 98984984)
|
||||
fmt.Println(this.Session("test1").Data)
|
||||
//fmt.Println(this.Db.GetTag())
|
||||
//this.Application.Log.Error("dasdasdas")
|
||||
//this.Log.Error("dadasdasd")
|
||||
|
||||
Reference in New Issue
Block a user