This commit is contained in:
aozhiwei 2024-07-19 12:05:21 +08:00
parent aa91a18270
commit 53a02b38c9

View File

@ -10,6 +10,8 @@ import (
"main/router/shopcart"
"main/router/nft"
"main/router/ingame"
"main/router/user"
"main/router/activity"
)
type routerMgr struct {
@ -20,6 +22,8 @@ type routerMgr struct {
shopCart shopcart.RouterGroup
nft nft.RouterGroup
ingame ingame.RouterGroup
user user.RouterGroup
activity activity.RouterGroup
}
func (this *routerMgr) Init() {
@ -31,6 +35,8 @@ func (this *routerMgr) Init() {
this.shopCart.ShopCartRouter.InitRouter()
this.nft.NftRouter.InitRouter()
this.ingame.IngameRouter.InitRouter()
this.user.UserRouter.InitRouter()
this.activity.StackingRouter.InitRouter()
f5.GetSysLog().Info("routerMgr.init")