优化代码
This commit is contained in:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user