commentsRouter.go 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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_forum_admin/controllers:AdminController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:AdminController"],
  8. beego.ControllerComments{
  9. Method: "GetBusinessAdmin",
  10. Router: `/business/admin`,
  11. AllowHTTPMethods: []string{"get"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  16. beego.ControllerComments{
  17. Method: "DeleteChartClassifyCheck",
  18. Router: `/chart_classify/delete/check`,
  19. AllowHTTPMethods: []string{"post"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  24. beego.ControllerComments{
  25. Method: "ChartClassifyItems",
  26. Router: `/chart_classify/items`,
  27. AllowHTTPMethods: []string{"get"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  32. beego.ControllerComments{
  33. Method: "ChartClassifyListV2",
  34. Router: `/chart_classify/list`,
  35. AllowHTTPMethods: []string{"get"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  40. beego.ControllerComments{
  41. Method: "AddChartClassify",
  42. Router: `/classify/add`,
  43. AllowHTTPMethods: []string{"post"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  48. beego.ControllerComments{
  49. Method: "ChartClassifyChartListV2",
  50. Router: `/classify/chart_list`,
  51. AllowHTTPMethods: []string{"get"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  56. beego.ControllerComments{
  57. Method: "DeleteChartClassify",
  58. Router: `/classify/delete`,
  59. AllowHTTPMethods: []string{"post"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  64. beego.ControllerComments{
  65. Method: "EditChartClassify",
  66. Router: `/classify/edit`,
  67. AllowHTTPMethods: []string{"post"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  72. beego.ControllerComments{
  73. Method: "ChartClassifyMove",
  74. Router: `/classify/move`,
  75. AllowHTTPMethods: []string{"post"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  80. beego.ControllerComments{
  81. Method: "SimpleList",
  82. Router: `/classify/simple`,
  83. AllowHTTPMethods: []string{"get"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  88. beego.ControllerComments{
  89. Method: "ClassifyTree",
  90. Router: `/classify/tree`,
  91. AllowHTTPMethods: []string{"get"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  96. beego.ControllerComments{
  97. Method: "ChartList",
  98. Router: `/list`,
  99. AllowHTTPMethods: []string{"get"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartClassifyController"],
  104. beego.ControllerComments{
  105. Method: "ModifyChartClassify",
  106. Router: `/modify_chart_classify`,
  107. AllowHTTPMethods: []string{"post"},
  108. MethodParams: param.Make(),
  109. Filters: nil,
  110. Params: nil})
  111. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartInfoController"],
  112. beego.ControllerComments{
  113. Method: "ChartInfoDetail",
  114. Router: `/detail`,
  115. AllowHTTPMethods: []string{"get"},
  116. MethodParams: param.Make(),
  117. Filters: nil,
  118. Params: nil})
  119. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:ChartInfoController"],
  120. beego.ControllerComments{
  121. Method: "ChartInfoSearchByEs",
  122. Router: `/search_by_es`,
  123. AllowHTTPMethods: []string{"get"},
  124. MethodParams: param.Make(),
  125. Filters: nil,
  126. Params: nil})
  127. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:EdbInfoController"],
  128. beego.ControllerComments{
  129. Method: "TraceEdbInfo",
  130. Router: `/trace`,
  131. AllowHTTPMethods: []string{"get"},
  132. MethodParams: param.Make(),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:LoginController"] = append(beego.GlobalControllerRouter["eta/eta_forum_admin/controllers:LoginController"],
  136. beego.ControllerComments{
  137. Method: "AuthCodeLogin",
  138. Router: `/auth_code_login`,
  139. AllowHTTPMethods: []string{"post"},
  140. MethodParams: param.Make(),
  141. Filters: nil,
  142. Params: nil})
  143. }