24 lines
385 B
Go
24 lines
385 B
Go
package router
|
|
|
|
import (
|
|
"f5"
|
|
"main/middleware"
|
|
//. "main/global"
|
|
//"main/router/system"
|
|
)
|
|
|
|
type routerMgr struct {
|
|
//system system.RouterGroup
|
|
}
|
|
|
|
func (this *routerMgr) Init() {
|
|
redirectGroup := f5.GetApp().GetGinEngine().Group("/sapi")
|
|
redirectGroup.Any("webapp/index.php", middleware.CaForward)
|
|
|
|
f5.GetSysLog().Info("routerMgr.init")
|
|
}
|
|
|
|
func (this *routerMgr) UnInit() {
|
|
|
|
}
|