12345678910111213141516171819202122232425 |
- package routers
- import (
- "eta/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)
- }
|