aozhiwei bc4e93b5c4 1
2024-06-03 17:00:56 +08:00

31 lines
435 B
Go

package router
import (
"f5"
"main/router/ca"
"main/router/nft"
)
type routerMgr struct {
ca ca.RouterGroup
nft nft.RouterGroup
}
func (this *routerMgr) Init() {
/*
f5.GetApp().GetGinEngine().Use(middleware.Cors())
*/
this.ca.InitLoginRouter()
this.ca.InitAnncRouter()
this.ca.InitServerSwitchRouter()
this.nft.NftMetaRouter.InitRouter()
f5.GetSysLog().Info("routerMgr.init")
}
func (this *routerMgr) UnInit() {
}