试试统一api

This commit is contained in:
suyl
2021-06-25 10:23:02 +08:00
parent ee02691601
commit 97cc8cce0d
2 changed files with 16 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ package main
import (
"flag"
"fmt"
"git.rosy.net.cn/jx-callback/controllers"
_ "net/http/pprof"
"os"
"time"
@@ -38,6 +39,7 @@ func Init() {
}
cms.InitServiceInfo(Version, buildTime, GitCommit)
misc.Init()
controllers.Init()
}
// 返回true表示非运行服务