修复bug

This commit is contained in:
hoteas
2021-10-21 22:52:40 +08:00
parent e5dfe9aa8d
commit 3efd5bd0a0
17 changed files with 40 additions and 2482 deletions
+4
View File
@@ -3,6 +3,7 @@ package main
import (
"../../hotime"
"../../hotime/common"
"../dri/ddsms"
"./admin"
"./app"
"fmt"
@@ -140,6 +141,9 @@ func main() {
//makeCode := code.MakeCode{}
//fmt.Println(common.ObjToStr(makeCode.Db2JSON("admin","test",appIns.Db)))
if ddsms.DefaultDDY.ApiKey == "" {
ddsms.DefaultDDY.Init(appIns.Config.GetString("smsKey"))
}
appIns.Run(hotime.Router{
"admin": admin.Project,