优化代码
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
"codeConfig": {
|
||||
"admin": "config/app.json"
|
||||
},
|
||||
"crossDomain": "auto",
|
||||
"db": {
|
||||
"mysql": {
|
||||
"host": "192.168.6.250",
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user