生成代码,逐步进行优化

This commit is contained in:
2021-06-05 02:18:56 +08:00
parent 6aa2b74840
commit 79453d4d2a
10 changed files with 139 additions and 270 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) {