commentsRouter.go 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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_mini_bridge/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartController"],
  8. beego.ControllerComments{
  9. Method: "Detail",
  10. Router: `/detail`,
  11. AllowHTTPMethods: []string{"get"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartController"],
  16. beego.ControllerComments{
  17. Method: "List",
  18. Router: `/list`,
  19. AllowHTTPMethods: []string{"get"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  24. beego.ControllerComments{
  25. Method: "AllList",
  26. Router: `/allList`,
  27. AllowHTTPMethods: []string{"get"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  32. beego.ControllerComments{
  33. Method: "DetailByClassify",
  34. Router: `/classify/detail`,
  35. AllowHTTPMethods: []string{"get"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  40. beego.ControllerComments{
  41. Method: "ClassifyList",
  42. Router: `/classify/list`,
  43. AllowHTTPMethods: []string{"get"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  48. beego.ControllerComments{
  49. Method: "ClassifyTree",
  50. Router: `/classify/tree`,
  51. AllowHTTPMethods: []string{"get"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  56. beego.ControllerComments{
  57. Method: "Detail",
  58. Router: `/detail`,
  59. AllowHTTPMethods: []string{"get"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  64. beego.ControllerComments{
  65. Method: "List",
  66. Router: `/list`,
  67. AllowHTTPMethods: []string{"get"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  72. beego.ControllerComments{
  73. Method: "Private",
  74. Router: `/private/list`,
  75. AllowHTTPMethods: []string{"get"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  80. beego.ControllerComments{
  81. Method: "Public",
  82. Router: `/public/list`,
  83. AllowHTTPMethods: []string{"get"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ChartPermissionController"],
  88. beego.ControllerComments{
  89. Method: "SecondList",
  90. Router: `/second/list`,
  91. AllowHTTPMethods: []string{"get"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ClassifyController"],
  96. beego.ControllerComments{
  97. Method: "FirstChartPermission",
  98. Router: `/chart_permission/first`,
  99. AllowHTTPMethods: []string{"post"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ClassifyController"],
  104. beego.ControllerComments{
  105. Method: "AllClassify",
  106. Router: `/list`,
  107. AllowHTTPMethods: []string{"get"},
  108. MethodParams: param.Make(),
  109. Filters: nil,
  110. Params: nil})
  111. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"],
  112. beego.ControllerComments{
  113. Method: "Today",
  114. Router: `/daily/list`,
  115. AllowHTTPMethods: []string{"get"},
  116. MethodParams: param.Make(),
  117. Filters: nil,
  118. Params: nil})
  119. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"],
  120. beego.ControllerComments{
  121. Method: "Detail",
  122. Router: `/detail`,
  123. AllowHTTPMethods: []string{"get"},
  124. MethodParams: param.Make(),
  125. Filters: nil,
  126. Params: nil})
  127. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"],
  128. beego.ControllerComments{
  129. Method: "DetailNoUser",
  130. Router: `/detail/noUser`,
  131. AllowHTTPMethods: []string{"get"},
  132. MethodParams: param.Make(),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"],
  136. beego.ControllerComments{
  137. Method: "List",
  138. Router: `/list`,
  139. AllowHTTPMethods: []string{"get"},
  140. MethodParams: param.Make(),
  141. Filters: nil,
  142. Params: nil})
  143. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"],
  144. beego.ControllerComments{
  145. Method: "RecentList",
  146. Router: `/recent/list`,
  147. AllowHTTPMethods: []string{"get"},
  148. MethodParams: param.Make(),
  149. Filters: nil,
  150. Params: nil})
  151. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportController"],
  152. beego.ControllerComments{
  153. Method: "Search",
  154. Router: `/search`,
  155. AllowHTTPMethods: []string{"get"},
  156. MethodParams: param.Make(),
  157. Filters: nil,
  158. Params: nil})
  159. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportNoAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportNoAuthController"],
  160. beego.ControllerComments{
  161. Method: "Detail",
  162. Router: `/detail`,
  163. AllowHTTPMethods: []string{"get"},
  164. MethodParams: param.Make(),
  165. Filters: nil,
  166. Params: nil})
  167. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportNoAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:ReportNoAuthController"],
  168. beego.ControllerComments{
  169. Method: "List",
  170. Router: `/list`,
  171. AllowHTTPMethods: []string{"get"},
  172. MethodParams: param.Make(),
  173. Filters: nil,
  174. Params: nil})
  175. beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:WeChatController"] = append(beego.GlobalControllerRouter["eta/eta_mini_bridge/controllers:WeChatController"],
  176. beego.ControllerComments{
  177. Method: "SendTemplateMsg",
  178. Router: `/send_template_msg`,
  179. AllowHTTPMethods: []string{"get"},
  180. MethodParams: param.Make(),
  181. Filters: nil,
  182. Params: nil})
  183. }