Merge branch 'zct-wechat' into zct-manage

# Conflicts:
#	example/config/config.json
#	example/main.go
#	example/zct_manage.exe
This commit is contained in:
hoteas
2022-04-26 09:24:51 +08:00
81 changed files with 1917 additions and 12459 deletions
+10 -1
View File
@@ -2,6 +2,8 @@ package main
import (
. "code.hoteas.com/golang/hotime"
"code.hoteas.com/golang/hotime/example/app"
//. "code.hoteas.com/golang/hotime/common"
"fmt"
"time"
)
@@ -11,8 +13,15 @@ func main() {
fmt.Println(date, date.Unix())
//fmt.Println("0123456"[1:7])
appIns := Init("config/config.json")
app.InitApp(appIns)
//a:=Map{}
//a.GetBool()
appIns.SetConnectListener(func(that *Context) (isFinished bool) {
//that.Session("admin_id", 1)
return isFinished
})
//appIns.SetConnectListener(func(that *Context) (isFinished bool) {
//
// return isFinished
@@ -21,6 +30,6 @@ func main() {
// return isSuccess
//})
appIns.Run(Router{
//"app": app.Project,
"app": app.Project,
})
}