commentsRouter_controllers.go 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. package routers
  2. import (
  3. "github.com/astaxie/beego"
  4. "github.com/astaxie/beego/context/param"
  5. )
  6. func init() {
  7. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyCommonController"],
  8. beego.ControllerComments{
  9. Method: "List",
  10. Router: "/pc/list",
  11. AllowHTTPMethods: []string{"get"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyController"],
  16. beego.ControllerComments{
  17. Method: "Detail",
  18. Router: "/detail",
  19. AllowHTTPMethods: []string{"get"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeCommonController"],
  24. beego.ControllerComments{
  25. Method: "ListHome",
  26. Router: "/pc/list",
  27. AllowHTTPMethods: []string{"get"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"],
  32. beego.ControllerComments{
  33. Method: "ListBanner",
  34. Router: "/banner",
  35. AllowHTTPMethods: []string{"get"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"],
  40. beego.ControllerComments{
  41. Method: "ListHome",
  42. Router: "/list",
  43. AllowHTTPMethods: []string{"get"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
  48. beego.ControllerComments{
  49. Method: "AddAudioRecord",
  50. Router: "/addAudioRecord",
  51. AllowHTTPMethods: []string{"post"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
  56. beego.ControllerComments{
  57. Method: "AddUpdateLabelReport",
  58. Router: "/addUpdateLabel",
  59. AllowHTTPMethods: []string{"post"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
  64. beego.ControllerComments{
  65. Method: "AddViewRecordReport",
  66. Router: "/addViewRecord",
  67. AllowHTTPMethods: []string{"post"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
  72. beego.ControllerComments{
  73. Method: "AuthorDetail",
  74. Router: "/author/detail",
  75. AllowHTTPMethods: []string{"get"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
  80. beego.ControllerComments{
  81. Method: "Detail",
  82. Router: "/detail",
  83. AllowHTTPMethods: []string{"get"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
  88. beego.ControllerComments{
  89. Method: "ListReport",
  90. Router: "/list",
  91. AllowHTTPMethods: []string{"get"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportShareController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportShareController"],
  96. beego.ControllerComments{
  97. Method: "Detail",
  98. Router: "/share/detail",
  99. AllowHTTPMethods: []string{"get"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
  104. beego.ControllerComments{
  105. Method: "CheckEmailCode",
  106. Router: "/checkEmailCode",
  107. AllowHTTPMethods: []string{"post"},
  108. MethodParams: param.Make(),
  109. Filters: nil,
  110. Params: nil})
  111. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
  112. beego.ControllerComments{
  113. Method: "CheckSmsCode",
  114. Router: "/checkSmsCode",
  115. AllowHTTPMethods: []string{"post"},
  116. MethodParams: param.Make(),
  117. Filters: nil,
  118. Params: nil})
  119. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
  120. beego.ControllerComments{
  121. Method: "GetEmailCode",
  122. Router: "/getEmailCode",
  123. AllowHTTPMethods: []string{"get"},
  124. MethodParams: param.Make(),
  125. Filters: nil,
  126. Params: nil})
  127. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
  128. beego.ControllerComments{
  129. Method: "GetSmsCode",
  130. Router: "/getSmsCode",
  131. AllowHTTPMethods: []string{"get"},
  132. MethodParams: param.Make(),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
  136. beego.ControllerComments{
  137. Method: "Apply",
  138. Router: "/apply",
  139. AllowHTTPMethods: []string{"post"},
  140. MethodParams: param.Make(),
  141. Filters: nil,
  142. Params: nil})
  143. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
  144. beego.ControllerComments{
  145. Method: "Detail",
  146. Router: "/detail",
  147. AllowHTTPMethods: []string{"get"},
  148. MethodParams: param.Make(),
  149. Filters: nil,
  150. Params: nil})
  151. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
  152. beego.ControllerComments{
  153. Method: "Login",
  154. Router: "/login",
  155. AllowHTTPMethods: []string{"post"},
  156. MethodParams: param.Make(),
  157. Filters: nil,
  158. Params: nil})
  159. beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
  160. beego.ControllerComments{
  161. Method: "SmallLimit",
  162. Router: "/smallLimit",
  163. AllowHTTPMethods: []string{"get"},
  164. MethodParams: param.Make(),
  165. Filters: nil,
  166. Params: nil})
  167. beego.GlobalControllerRouter["hongze/hongze_api/controllers:VideoController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:VideoController"],
  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["hongze/hongze_api/controllers:VideoController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:VideoController"],
  176. beego.ControllerComments{
  177. Method: "TagsList",
  178. Router: "/tags/list",
  179. AllowHTTPMethods: []string{"get"},
  180. MethodParams: param.Make(),
  181. Filters: nil,
  182. Params: nil})
  183. beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatCommonController"],
  184. beego.ControllerComments{
  185. Method: "WechatLogin",
  186. Router: "/login",
  187. AllowHTTPMethods: []string{"get"},
  188. MethodParams: param.Make(),
  189. Filters: nil,
  190. Params: nil})
  191. beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatController"],
  192. beego.ControllerComments{
  193. Method: "GetWxSign",
  194. Router: "/getWxSign",
  195. AllowHTTPMethods: []string{"get"},
  196. MethodParams: param.Make(),
  197. Filters: nil,
  198. Params: nil})
  199. }