This commit is contained in:
邹宗楠
2022-06-22 09:25:13 +08:00
parent 2593c67cd3
commit e4e79d7612
3 changed files with 35 additions and 17 deletions

View File

@@ -3,6 +3,7 @@ package main
import (
"flag"
"fmt"
"git.rosy.net.cn/jx-callback/business/enterprise"
"net/http"
_ "net/http/pprof"
"os"
@@ -86,6 +87,7 @@ func Init() {
jdshop.CurPurchaseHandler.StartRefreshComment()
}
misc.Init()
enterprise.Init() // 初始化enterprise key
}
// 返回true表示非运行服务