commentsRouter.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  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_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  8. beego.ControllerComments{
  9. Method: "AddEtaTrialAdmin",
  10. Router: `/admin/add`,
  11. AllowHTTPMethods: []string{"post"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  16. beego.ControllerComments{
  17. Method: "EnabledEtaTrialAdmin",
  18. Router: `/admin/enabled`,
  19. AllowHTTPMethods: []string{"post"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  24. beego.ControllerComments{
  25. Method: "GetMobileCount",
  26. Router: `/mobile/count`,
  27. AllowHTTPMethods: []string{"post"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  32. beego.ControllerComments{
  33. Method: "Disable",
  34. Router: `/user/disable`,
  35. AllowHTTPMethods: []string{"post"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  40. beego.ControllerComments{
  41. Method: "Edit",
  42. Router: `/user/edit`,
  43. AllowHTTPMethods: []string{"post"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  48. beego.ControllerComments{
  49. Method: "GetUserByMobile",
  50. Router: `/user/mobile_fetch`,
  51. AllowHTTPMethods: []string{"post"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  56. beego.ControllerComments{
  57. Method: "Remove",
  58. Router: `/user/remove`,
  59. AllowHTTPMethods: []string{"post"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  64. beego.ControllerComments{
  65. Method: "UpdateActiveTime",
  66. Router: `/user/update_active_time`,
  67. AllowHTTPMethods: []string{"post"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  72. beego.ControllerComments{
  73. Method: "UpdateChartNum",
  74. Router: `/user/update_chart_num`,
  75. AllowHTTPMethods: []string{"post"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  80. beego.ControllerComments{
  81. Method: "UpdateIndexNum",
  82. Router: `/user/update_index_num`,
  83. AllowHTTPMethods: []string{"post"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  88. beego.ControllerComments{
  89. Method: "UpdateLogin",
  90. Router: `/user/update_login`,
  91. AllowHTTPMethods: []string{"post"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/eta_trial:EtaTrialController"],
  96. beego.ControllerComments{
  97. Method: "UpdateLoginDuration",
  98. Router: `/user/update_login_duration`,
  99. AllowHTTPMethods: []string{"post"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysDepartmentController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysDepartmentController"],
  104. beego.ControllerComments{
  105. Method: "Delete",
  106. Router: `/department/delete`,
  107. AllowHTTPMethods: []string{"post"},
  108. MethodParams: param.Make(),
  109. Filters: nil,
  110. Params: nil})
  111. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysDepartmentController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysDepartmentController"],
  112. beego.ControllerComments{
  113. Method: "Save",
  114. Router: `/department/save`,
  115. AllowHTTPMethods: []string{"post"},
  116. MethodParams: param.Make(),
  117. Filters: nil,
  118. Params: nil})
  119. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysDepartmentController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysDepartmentController"],
  120. beego.ControllerComments{
  121. Method: "Sync",
  122. Router: `/department/sync`,
  123. AllowHTTPMethods: []string{"post"},
  124. MethodParams: param.Make(),
  125. Filters: nil,
  126. Params: nil})
  127. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysGroupController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysGroupController"],
  128. beego.ControllerComments{
  129. Method: "Delete",
  130. Router: `/group/delete`,
  131. AllowHTTPMethods: []string{"post"},
  132. MethodParams: param.Make(),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysGroupController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysGroupController"],
  136. beego.ControllerComments{
  137. Method: "Save",
  138. Router: `/group/save`,
  139. AllowHTTPMethods: []string{"post"},
  140. MethodParams: param.Make(),
  141. Filters: nil,
  142. Params: nil})
  143. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysGroupController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysGroupController"],
  144. beego.ControllerComments{
  145. Method: "Sync",
  146. Router: `/group/sync`,
  147. AllowHTTPMethods: []string{"post"},
  148. MethodParams: param.Make(),
  149. Filters: nil,
  150. Params: nil})
  151. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysRoleController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysRoleController"],
  152. beego.ControllerComments{
  153. Method: "Delete",
  154. Router: `/role/delete`,
  155. AllowHTTPMethods: []string{"post"},
  156. MethodParams: param.Make(),
  157. Filters: nil,
  158. Params: nil})
  159. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysRoleController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysRoleController"],
  160. beego.ControllerComments{
  161. Method: "Save",
  162. Router: `/role/save`,
  163. AllowHTTPMethods: []string{"post"},
  164. MethodParams: param.Make(),
  165. Filters: nil,
  166. Params: nil})
  167. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysRoleController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers/system:SysRoleController"],
  168. beego.ControllerComments{
  169. Method: "Sync",
  170. Router: `/role/sync`,
  171. AllowHTTPMethods: []string{"post"},
  172. MethodParams: param.Make(),
  173. Filters: nil,
  174. Params: nil})
  175. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AdminController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AdminController"],
  176. beego.ControllerComments{
  177. Method: "BatchSave",
  178. Router: `/batch_save`,
  179. AllowHTTPMethods: []string{"post"},
  180. MethodParams: param.Make(),
  181. Filters: nil,
  182. Params: nil})
  183. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AdminController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AdminController"],
  184. beego.ControllerComments{
  185. Method: "Delete",
  186. Router: `/delete`,
  187. AllowHTTPMethods: []string{"post"},
  188. MethodParams: param.Make(),
  189. Filters: nil,
  190. Params: nil})
  191. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AdminController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AdminController"],
  192. beego.ControllerComments{
  193. Method: "Save",
  194. Router: `/save`,
  195. AllowHTTPMethods: []string{"post"},
  196. MethodParams: param.Make(),
  197. Filters: nil,
  198. Params: nil})
  199. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:AuthController"],
  200. beego.ControllerComments{
  201. Method: "CreateAuthCode",
  202. Router: `/auth_code`,
  203. AllowHTTPMethods: []string{"post"},
  204. MethodParams: param.Make(),
  205. Filters: nil,
  206. Params: nil})
  207. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartCollectController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartCollectController"],
  208. beego.ControllerComments{
  209. Method: "ChartList",
  210. Router: `/chart/list`,
  211. AllowHTTPMethods: []string{"get"},
  212. MethodParams: param.Make(),
  213. Filters: nil,
  214. Params: nil})
  215. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartCollectController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartCollectController"],
  216. beego.ControllerComments{
  217. Method: "ClassifyList",
  218. Router: `/classify/list`,
  219. AllowHTTPMethods: []string{"get"},
  220. MethodParams: param.Make(),
  221. Filters: nil,
  222. Params: nil})
  223. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"],
  224. beego.ControllerComments{
  225. Method: "CommonChartInfoDetailFromUniqueCode",
  226. Router: `/common/from_unique_code`,
  227. AllowHTTPMethods: []string{"get"},
  228. MethodParams: param.Make(),
  229. Filters: nil,
  230. Params: nil})
  231. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"],
  232. beego.ControllerComments{
  233. Method: "Delete",
  234. Router: `/delete`,
  235. AllowHTTPMethods: []string{"post"},
  236. MethodParams: param.Make(),
  237. Filters: nil,
  238. Params: nil})
  239. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"],
  240. beego.ControllerComments{
  241. Method: "Save",
  242. Router: `/save`,
  243. AllowHTTPMethods: []string{"post"},
  244. MethodParams: param.Make(),
  245. Filters: nil,
  246. Params: nil})
  247. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"],
  248. beego.ControllerComments{
  249. Method: "Update",
  250. Router: `/update`,
  251. AllowHTTPMethods: []string{"post"},
  252. MethodParams: param.Make(),
  253. Filters: nil,
  254. Params: nil})
  255. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartInfoController"],
  256. beego.ControllerComments{
  257. Method: "UserChartList",
  258. Router: `/user/chart_list`,
  259. AllowHTTPMethods: []string{"get"},
  260. MethodParams: param.Make(),
  261. Filters: nil,
  262. Params: nil})
  263. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartThemeController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartThemeController"],
  264. beego.ControllerComments{
  265. Method: "Save",
  266. Router: `/theme/save`,
  267. AllowHTTPMethods: []string{"post"},
  268. MethodParams: param.Make(),
  269. Filters: nil,
  270. Params: nil})
  271. beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartThemeController"] = append(beego.GlobalControllerRouter["eta/eta_forum_hub/controllers:ChartThemeController"],
  272. beego.ControllerComments{
  273. Method: "ThemeTypeSave",
  274. Router: `/theme/type/save`,
  275. AllowHTTPMethods: []string{"post"},
  276. MethodParams: param.Make(),
  277. Filters: nil,
  278. Params: nil})
  279. }