1234567891011121314151617 |
- package routers
- import (
- "eta_gn/eta_task/controllers"
- "github.com/beego/beego/v2/server/web"
- )
- func init() {
- ns := web.NewNamespace("/v1",
- web.NSNamespace("/data",
- web.NSInclude(
- &controllers.DataInitController{},
- ),
- ),
- )
- web.AddNamespace(ns)
- }
|