This commit is contained in:
aozhiwei 2023-10-01 10:40:16 +08:00
parent a5c700416c
commit d3f6c8945d
3 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,7 @@ package system
import (
"github.com/gin-gonic/gin"
"f5"
)
type UserApi struct{

View File

@ -2,14 +2,18 @@ package router
import (
"f5"
. "main/global"
"main/router/system"
)
type routerMgr struct {
system system.RouterGroup
}
func (this* routerMgr) Init() {
router := GetApp().GetGin().Group("api/v1")
this.system.InitUserRouter(router)
f5.GetSysLog().Info("routerMgr.init")
}

View File

@ -1,5 +1,5 @@
package system
type RouterGroup struct {
UserRouter
}