commentsRouter.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  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_api/controllers:BannerController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:BannerController"],
  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_api/controllers:BannerController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:BannerController"],
  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_api/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartController"],
  24. beego.ControllerComments{
  25. Method: "List",
  26. Router: `/list`,
  27. AllowHTTPMethods: []string{"get"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartController"],
  32. beego.ControllerComments{
  33. Method: "Locate",
  34. Router: `/locate`,
  35. AllowHTTPMethods: []string{"get"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionController"],
  40. beego.ControllerComments{
  41. Method: "ClassifyTree",
  42. Router: `/classify/tree`,
  43. AllowHTTPMethods: []string{"get"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionController"],
  48. beego.ControllerComments{
  49. Method: "List",
  50. Router: `/list`,
  51. AllowHTTPMethods: []string{"get"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionNoAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionNoAuthController"],
  56. beego.ControllerComments{
  57. Method: "ClassifyTree",
  58. Router: `/classify/tree`,
  59. AllowHTTPMethods: []string{"get"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionNoAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ChartPermissionNoAuthController"],
  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_api/controllers:MiniConfigController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MiniConfigController"],
  72. beego.ControllerComments{
  73. Method: "MiniConfig",
  74. Router: `/config`,
  75. AllowHTTPMethods: []string{"get"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"],
  80. beego.ControllerComments{
  81. Method: "Collect",
  82. Router: `/collect`,
  83. AllowHTTPMethods: []string{"post"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"],
  88. beego.ControllerComments{
  89. Method: "CollectCancel",
  90. Router: `/collectCancel`,
  91. AllowHTTPMethods: []string{"post"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"],
  96. beego.ControllerComments{
  97. Method: "Detail",
  98. Router: `/detail`,
  99. AllowHTTPMethods: []string{"get"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"],
  104. beego.ControllerComments{
  105. Method: "IsCollect",
  106. Router: `/isCollect`,
  107. AllowHTTPMethods: []string{"post"},
  108. MethodParams: param.Make(),
  109. Filters: nil,
  110. Params: nil})
  111. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"],
  112. beego.ControllerComments{
  113. Method: "List",
  114. Router: `/list`,
  115. AllowHTTPMethods: []string{"get"},
  116. MethodParams: param.Make(),
  117. Filters: nil,
  118. Params: nil})
  119. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyChartController"],
  120. beego.ControllerComments{
  121. Method: "Locate",
  122. Router: `/locate`,
  123. AllowHTTPMethods: []string{"get"},
  124. MethodParams: param.Make(),
  125. Filters: nil,
  126. Params: nil})
  127. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"],
  128. beego.ControllerComments{
  129. Method: "Collect",
  130. Router: `/collect`,
  131. AllowHTTPMethods: []string{"post"},
  132. MethodParams: param.Make(),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"],
  136. beego.ControllerComments{
  137. Method: "CollectCancel",
  138. Router: `/collectCancel`,
  139. AllowHTTPMethods: []string{"post"},
  140. MethodParams: param.Make(),
  141. Filters: nil,
  142. Params: nil})
  143. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"],
  144. beego.ControllerComments{
  145. Method: "IsCollect",
  146. Router: `/isCollect`,
  147. AllowHTTPMethods: []string{"post"},
  148. MethodParams: param.Make(),
  149. Filters: nil,
  150. Params: nil})
  151. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"],
  152. beego.ControllerComments{
  153. Method: "List",
  154. Router: `/list`,
  155. AllowHTTPMethods: []string{"get"},
  156. MethodParams: param.Make(),
  157. Filters: nil,
  158. Params: nil})
  159. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"],
  160. beego.ControllerComments{
  161. Method: "PdfCollect",
  162. Router: `/pdf/collect`,
  163. AllowHTTPMethods: []string{"post"},
  164. MethodParams: param.Make(),
  165. Filters: nil,
  166. Params: nil})
  167. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"],
  168. beego.ControllerComments{
  169. Method: "PdfCollectCancel",
  170. Router: `/pdf/collectCancel`,
  171. AllowHTTPMethods: []string{"post"},
  172. MethodParams: param.Make(),
  173. Filters: nil,
  174. Params: nil})
  175. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:MyReportController"],
  176. beego.ControllerComments{
  177. Method: "IsPdfCollect",
  178. Router: `/pdf/isCollect`,
  179. AllowHTTPMethods: []string{"post"},
  180. MethodParams: param.Make(),
  181. Filters: nil,
  182. Params: nil})
  183. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"],
  184. beego.ControllerComments{
  185. Method: "DailyList",
  186. Router: `/daily/list`,
  187. AllowHTTPMethods: []string{"get"},
  188. MethodParams: param.Make(),
  189. Filters: nil,
  190. Params: nil})
  191. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"],
  192. beego.ControllerComments{
  193. Method: "Detail",
  194. Router: `/detail`,
  195. AllowHTTPMethods: []string{"get"},
  196. MethodParams: param.Make(),
  197. Filters: nil,
  198. Params: nil})
  199. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"],
  200. beego.ControllerComments{
  201. Method: "List",
  202. Router: `/list`,
  203. AllowHTTPMethods: []string{"get"},
  204. MethodParams: param.Make(),
  205. Filters: nil,
  206. Params: nil})
  207. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"],
  208. beego.ControllerComments{
  209. Method: "PdfDetail",
  210. Router: `/pdf/detail`,
  211. AllowHTTPMethods: []string{"get"},
  212. MethodParams: param.Make(),
  213. Filters: nil,
  214. Params: nil})
  215. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"],
  216. beego.ControllerComments{
  217. Method: "PdfList",
  218. Router: `/pdf/list`,
  219. AllowHTTPMethods: []string{"get"},
  220. MethodParams: param.Make(),
  221. Filters: nil,
  222. Params: nil})
  223. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"],
  224. beego.ControllerComments{
  225. Method: "RecentList",
  226. Router: `/recent/list`,
  227. AllowHTTPMethods: []string{"get"},
  228. MethodParams: param.Make(),
  229. Filters: nil,
  230. Params: nil})
  231. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportController"],
  232. beego.ControllerComments{
  233. Method: "Search",
  234. Router: `/search`,
  235. AllowHTTPMethods: []string{"get"},
  236. MethodParams: param.Make(),
  237. Filters: nil,
  238. Params: nil})
  239. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportNoAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportNoAuthController"],
  240. beego.ControllerComments{
  241. Method: "Detail",
  242. Router: `/detail`,
  243. AllowHTTPMethods: []string{"get"},
  244. MethodParams: param.Make(),
  245. Filters: nil,
  246. Params: nil})
  247. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportNoAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportNoAuthController"],
  248. beego.ControllerComments{
  249. Method: "List",
  250. Router: `/list`,
  251. AllowHTTPMethods: []string{"get"},
  252. MethodParams: param.Make(),
  253. Filters: nil,
  254. Params: nil})
  255. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportNoAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:ReportNoAuthController"],
  256. beego.ControllerComments{
  257. Method: "Search",
  258. Router: `/search`,
  259. AllowHTTPMethods: []string{"get"},
  260. MethodParams: param.Make(),
  261. Filters: nil,
  262. Params: nil})
  263. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  264. beego.ControllerComments{
  265. Method: "AddReportRecord",
  266. Router: `/addReportRecord`,
  267. AllowHTTPMethods: []string{"post"},
  268. MethodParams: param.Make(),
  269. Filters: nil,
  270. Params: nil})
  271. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  272. beego.ControllerComments{
  273. Method: "ApplyPermission",
  274. Router: `/apply/permission`,
  275. AllowHTTPMethods: []string{"post"},
  276. MethodParams: param.Make(),
  277. Filters: nil,
  278. Params: nil})
  279. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  280. beego.ControllerComments{
  281. Method: "Info",
  282. Router: `/info`,
  283. AllowHTTPMethods: []string{"get"},
  284. MethodParams: param.Make(),
  285. Filters: nil,
  286. Params: nil})
  287. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  288. beego.ControllerComments{
  289. Method: "UserInfoSave",
  290. Router: `/info/save`,
  291. AllowHTTPMethods: []string{"post"},
  292. MethodParams: param.Make(),
  293. Filters: nil,
  294. Params: nil})
  295. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  296. beego.ControllerComments{
  297. Method: "Login",
  298. Router: `/login`,
  299. AllowHTTPMethods: []string{"post"},
  300. MethodParams: param.Make(),
  301. Filters: nil,
  302. Params: nil})
  303. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  304. beego.ControllerComments{
  305. Method: "AddReportPdfRecord",
  306. Router: `/pdf/addReportRecord`,
  307. AllowHTTPMethods: []string{"post"},
  308. MethodParams: param.Make(),
  309. Filters: nil,
  310. Params: nil})
  311. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  312. beego.ControllerComments{
  313. Method: "PermissionList",
  314. Router: `/permission/list`,
  315. AllowHTTPMethods: []string{"get"},
  316. MethodParams: param.Make(),
  317. Filters: nil,
  318. Params: nil})
  319. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserAuthController"],
  320. beego.ControllerComments{
  321. Method: "PurchasedPermission",
  322. Router: `/purchased/list`,
  323. AllowHTTPMethods: []string{"get"},
  324. MethodParams: param.Make(),
  325. Filters: nil,
  326. Params: nil})
  327. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"],
  328. beego.ControllerComments{
  329. Method: "AreaCodeList",
  330. Router: `/area_code/list`,
  331. AllowHTTPMethods: []string{"get"},
  332. MethodParams: param.Make(),
  333. Filters: nil,
  334. Params: nil})
  335. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"],
  336. beego.ControllerComments{
  337. Method: "DepartmentList",
  338. Router: `/department/list`,
  339. AllowHTTPMethods: []string{"get"},
  340. MethodParams: param.Make(),
  341. Filters: nil,
  342. Params: nil})
  343. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"],
  344. beego.ControllerComments{
  345. Method: "GenerateCaptcha",
  346. Router: `/getCaptcha`,
  347. AllowHTTPMethods: []string{"get"},
  348. MethodParams: param.Make(),
  349. Filters: nil,
  350. Params: nil})
  351. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:UserController"],
  352. beego.ControllerComments{
  353. Method: "GetVerifyCode",
  354. Router: `/getVerifyCode`,
  355. AllowHTTPMethods: []string{"post"},
  356. MethodParams: param.Make(),
  357. Filters: nil,
  358. Params: nil})
  359. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:WechatController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:WechatController"],
  360. beego.ControllerComments{
  361. Method: "Login",
  362. Router: `/login`,
  363. AllowHTTPMethods: []string{"post"},
  364. MethodParams: param.Make(),
  365. Filters: nil,
  366. Params: nil})
  367. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:WechatController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:WechatController"],
  368. beego.ControllerComments{
  369. Method: "Notify",
  370. Router: `/notify`,
  371. AllowHTTPMethods: []string{"get","post"},
  372. MethodParams: param.Make(),
  373. Filters: nil,
  374. Params: nil})
  375. beego.GlobalControllerRouter["eta/eta_mini_api/controllers:WechatController"] = append(beego.GlobalControllerRouter["eta/eta_mini_api/controllers:WechatController"],
  376. beego.ControllerComments{
  377. Method: "Subscribe",
  378. Router: `/subscribe`,
  379. AllowHTTPMethods: []string{"post"},
  380. MethodParams: param.Make(),
  381. Filters: nil,
  382. Params: nil})
  383. }