1
This commit is contained in:
parent
a5c700416c
commit
d3f6c8945d
@ -2,6 +2,7 @@ package system
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"f5"
|
||||
)
|
||||
|
||||
type UserApi struct{
|
||||
|
@ -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")
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
package system
|
||||
|
||||
type RouterGroup struct {
|
||||
|
||||
UserRouter
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user