优化代码

This commit is contained in:
2021-06-06 02:27:22 +08:00
parent 79453d4d2a
commit 4038598470
3 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ package main
import (
"../../hotime"
//"./admin"
"./admin"
"errors"
"fmt"
"golang.org/x/net/websocket"
@@ -58,7 +58,7 @@ func main() {
//fmt.Println(common.ObjToStr(makeCode.Db2JSON("admin","test",appIns.Db)))
appIns.Run(hotime.Router{
//"admin": admin.Project,
"admin": admin.Project,
"app": hotime.Proj{
"index": hotime.Ctr{
"test": func(this *hotime.Context) {