commentsRouter.go 549 B

12345678910111213141516171819
  1. package routers
  2. import (
  3. beego "github.com/beego/beego/v2/server/web"
  4. "github.com/beego/beego/v2/server/web/context/param"
  5. )
  6. func init() {
  7. beego.GlobalControllerRouter["eta_gn/eta_task/controllers:DataInitController"] = append(beego.GlobalControllerRouter["eta_gn/eta_task/controllers:DataInitController"],
  8. beego.ControllerComments{
  9. Method: "InitEdbRelation",
  10. Router: `/relation_init`,
  11. AllowHTTPMethods: []string{"get"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. }