优化代码

This commit is contained in:
2021-06-06 07:50:58 +08:00
parent 4038598470
commit 642bf97272
4 changed files with 24 additions and 29 deletions
+1
View File
@@ -9,6 +9,7 @@
"codeConfig": {
"admin": "config/app.json"
},
"crossDomain": "auto",
"db": {
"mysql": {
"host": "192.168.6.250",
+1
View File
@@ -62,6 +62,7 @@ func main() {
"app": hotime.Proj{
"index": hotime.Ctr{
"test": func(this *hotime.Context) {
data := this.Db.Get("cached", "*")
fmt.Println(data)
fmt.Println(this.Session("test").ToCeilInt())