commentsRouter_controllers.go 936 B

12345678910111213141516171819202122232425262728
  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_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  8. beego.ControllerComments{
  9. Method: "ChartInfoDetail",
  10. Router: "/detail",
  11. AllowHTTPMethods: []string{"get"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  16. beego.ControllerComments{
  17. Method: "ChartInfoRefresh",
  18. Router: "/refresh",
  19. AllowHTTPMethods: []string{"get"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. }