mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 16:02:26 +08:00
配置表访问接口化,简化常量访问
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
"time"
|
||||
|
||||
"hk4e/common/config"
|
||||
"hk4e/common/constant"
|
||||
"hk4e/common/mq"
|
||||
"hk4e/common/rpc"
|
||||
"hk4e/gdconf"
|
||||
@@ -72,7 +71,6 @@ func Run(ctx context.Context, configFile string) error {
|
||||
logger.InitLogger("gs_" + APPID)
|
||||
logger.Warn("gs start, appid: %v, gsid: %v", APPID, GSID)
|
||||
|
||||
constant.InitConstant()
|
||||
gdconf.InitGameDataConfig()
|
||||
|
||||
db, err := dao.NewDao()
|
||||
|
||||
Reference in New Issue
Block a user