commentsRouter.go 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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:ChartAuthController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartAuthController"],
  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: "CommonChartInfoDetailFromUniqueCode",
  18. Router: `/common/detail`,
  19. AllowHTTPMethods: []string{"get"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  24. beego.ControllerComments{
  25. Method: "CorrelationChartInfoRefresh",
  26. Router: `/correlation/refresh`,
  27. AllowHTTPMethods: []string{"get"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  32. beego.ControllerComments{
  33. Method: "ChartInfoDetail",
  34. Router: `/detail`,
  35. AllowHTTPMethods: []string{"get"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  40. beego.ControllerComments{
  41. Method: "Collect",
  42. Router: `/dw/collect`,
  43. AllowHTTPMethods: []string{"post"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  48. beego.ControllerComments{
  49. Method: "CollectCancel",
  50. Router: `/dw/collectCancel`,
  51. AllowHTTPMethods: []string{"post"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  56. beego.ControllerComments{
  57. Method: "FutureGoodChartInfoRefresh",
  58. Router: `/future_good/refresh`,
  59. AllowHTTPMethods: []string{"get"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ChartController"],
  64. beego.ControllerComments{
  65. Method: "ChartInfoRefresh",
  66. Router: `/refresh`,
  67. AllowHTTPMethods: []string{"get"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ExcelInfoController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ExcelInfoController"],
  72. beego.ControllerComments{
  73. Method: "GetTableDetail",
  74. Router: `/detail`,
  75. AllowHTTPMethods: []string{"get"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ExcelInfoController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:ExcelInfoController"],
  80. beego.ControllerComments{
  81. Method: "Refresh",
  82. Router: `/refresh`,
  83. AllowHTTPMethods: []string{"get"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:TableController"] = append(beego.GlobalControllerRouter["eta/eta_chart_lib/controllers:TableController"],
  88. beego.ControllerComments{
  89. Method: "TableInfoDetail",
  90. Router: `/detail`,
  91. AllowHTTPMethods: []string{"get"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. }