commentsRouter.go 565 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/eta_data_analysis/controllers:YongyiController"] = append(beego.GlobalControllerRouter["eta/eta_data_analysis/controllers:YongyiController"],
  8. beego.ControllerComments{
  9. Method: "Analysis",
  10. Router: `/analysis`,
  11. AllowHTTPMethods: []string{"get"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. }