commentsRouter.go 9.4 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["hongze/hongze_open_api/controllers:Admin"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:Admin"],
  8. beego.ControllerComments{
  9. Method: "Create",
  10. Router: `/create`,
  11. AllowHTTPMethods: []string{"post"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ChartController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ChartController"],
  16. beego.ControllerComments{
  17. Method: "ChartChange",
  18. Router: `/change`,
  19. AllowHTTPMethods: []string{"post"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:CompanyUser"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:CompanyUser"],
  24. beego.ControllerComments{
  25. Method: "GetUserReportList",
  26. Router: `/user_report_list`,
  27. AllowHTTPMethods: []string{"get"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:CompanyUser"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:CompanyUser"],
  32. beego.ControllerComments{
  33. Method: "GetUserReportViewTotalList",
  34. Router: `/view_total_list`,
  35. AllowHTTPMethods: []string{"get"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:DayNewController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:DayNewController"],
  40. beego.ControllerComments{
  41. Method: "RefreshMsg",
  42. Router: `/refresh`,
  43. AllowHTTPMethods: []string{"get"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:DayNewController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:DayNewController"],
  48. beego.ControllerComments{
  49. Method: "TranslateContent",
  50. Router: `/translate`,
  51. AllowHTTPMethods: []string{"get"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:EdbController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:EdbController"],
  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["hongze/hongze_open_api/controllers:EnglishReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:EnglishReportController"],
  64. beego.ControllerComments{
  65. Method: "PublishNotify",
  66. Router: `/notify`,
  67. AllowHTTPMethods: []string{"get"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:QuanShiControllerCommon"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:QuanShiControllerCommon"],
  72. beego.ControllerComments{
  73. Method: "CallBack",
  74. Router: `/callback`,
  75. AllowHTTPMethods: []string{"post"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"],
  80. beego.ControllerComments{
  81. Method: "ArticleChange",
  82. Router: `/article/change`,
  83. AllowHTTPMethods: []string{"post"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"],
  88. beego.ControllerComments{
  89. Method: "ClassifyList",
  90. Router: `/classify/list`,
  91. AllowHTTPMethods: []string{"get"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"],
  96. beego.ControllerComments{
  97. Method: "ListReport",
  98. Router: `/list`,
  99. AllowHTTPMethods: []string{"get"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportController"],
  104. beego.ControllerComments{
  105. Method: "ListReportV2",
  106. Router: `/list/v2`,
  107. AllowHTTPMethods: []string{"get"},
  108. MethodParams: param.Make(),
  109. Filters: nil,
  110. Params: nil})
  111. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"],
  112. beego.ControllerComments{
  113. Method: "GetResearchReportChapter",
  114. Router: `/getReportChapterInfo`,
  115. AllowHTTPMethods: []string{"get"},
  116. MethodParams: param.Make(),
  117. Filters: nil,
  118. Params: nil})
  119. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"],
  120. beego.ControllerComments{
  121. Method: "GetResearchReportChapterV2",
  122. Router: `/getReportChapterInfo/v2`,
  123. AllowHTTPMethods: []string{"get"},
  124. MethodParams: param.Make(),
  125. Filters: nil,
  126. Params: nil})
  127. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"],
  128. beego.ControllerComments{
  129. Method: "GetReportInfo",
  130. Router: `/getReportInfo`,
  131. AllowHTTPMethods: []string{"get"},
  132. MethodParams: param.Make(),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"],
  136. beego.ControllerComments{
  137. Method: "GetReportInfoV2",
  138. Router: `/getReportInfo/v2`,
  139. AllowHTTPMethods: []string{"get"},
  140. MethodParams: param.Make(),
  141. Filters: nil,
  142. Params: nil})
  143. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:ReportControllerCommon"],
  144. beego.ControllerComments{
  145. Method: "GetTickerData",
  146. Router: `/getTickerData`,
  147. AllowHTTPMethods: []string{"get"},
  148. MethodParams: param.Make(),
  149. Filters: nil,
  150. Params: nil})
  151. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:WeworkController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:WeworkController"],
  152. beego.ControllerComments{
  153. Method: "Notify",
  154. Router: `/notify`,
  155. AllowHTTPMethods: []string{"get","post"},
  156. MethodParams: param.Make(),
  157. Filters: nil,
  158. Params: nil})
  159. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:YiDongController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:YiDongController"],
  160. beego.ControllerComments{
  161. Method: "ActivityExamine",
  162. Router: `/activity/examine/signup`,
  163. AllowHTTPMethods: []string{"post"},
  164. MethodParams: param.Make(),
  165. Filters: nil,
  166. Params: nil})
  167. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:YiDongController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:YiDongController"],
  168. beego.ControllerComments{
  169. Method: "UserCheck",
  170. Router: `/activity/user/check`,
  171. AllowHTTPMethods: []string{"post"},
  172. MethodParams: param.Make(),
  173. Filters: nil,
  174. Params: nil})
  175. beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:YiDongController"] = append(beego.GlobalControllerRouter["hongze/hongze_open_api/controllers:YiDongController"],
  176. beego.ControllerComments{
  177. Method: "UserSignup",
  178. Router: `/activity/user/signup`,
  179. AllowHTTPMethods: []string{"post"},
  180. MethodParams: param.Make(),
  181. Filters: nil,
  182. Params: nil})
  183. }