gs加载新配置表

This commit is contained in:
huangxiaolei
2022-12-02 19:23:12 +08:00
parent ae289ae981
commit 072b8c4364
6 changed files with 13 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ package app
import (
"context"
"hk4e/gdconf"
_ "net/http/pprof"
"os"
"os/signal"
@@ -30,6 +31,7 @@ func Run(ctx context.Context, configFile string) error {
constant.InitConstant()
gdc.InitGameDataConfig()
gdconf.InitGameDataConfig()
conn, err := nats.Connect(config.CONF.MQ.NatsUrl)
if err != nil {