commentsRouter.go 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  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_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  8. beego.ControllerComments{
  9. Method: "Count",
  10. Router: `/count`,
  11. AllowHTTPMethods: []string{"post"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  16. beego.ControllerComments{
  17. Method: "List",
  18. Router: `/list`,
  19. AllowHTTPMethods: []string{"get"},
  20. MethodParams: param.Make(
  21. param.New("mediaType"),
  22. param.New("permissionIds"),
  23. ),
  24. Filters: nil,
  25. Params: nil})
  26. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  27. beego.ControllerComments{
  28. Method: "GetMedia",
  29. Router: `/media`,
  30. AllowHTTPMethods: []string{"get"},
  31. MethodParams: param.Make(
  32. param.New("mediaType"),
  33. param.New("mediaId"),
  34. ),
  35. Filters: nil,
  36. Params: nil})
  37. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  38. beego.ControllerComments{
  39. Method: "Search",
  40. Router: `/search`,
  41. AllowHTTPMethods: []string{"get"},
  42. MethodParams: param.Make(
  43. param.New("mediaType"),
  44. param.New("key"),
  45. ),
  46. Filters: nil,
  47. Params: nil})
  48. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:OrderController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:OrderController"],
  49. beego.ControllerComments{
  50. Method: "CreateProductOrder",
  51. Router: `/createProductOrder`,
  52. AllowHTTPMethods: []string{"post"},
  53. MethodParams: param.Make(),
  54. Filters: nil,
  55. Params: nil})
  56. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"],
  57. beego.ControllerComments{
  58. Method: "GetProductInfo",
  59. Router: `/getProductInfo`,
  60. AllowHTTPMethods: []string{"get"},
  61. MethodParams: param.Make(
  62. param.New("productId"),
  63. ),
  64. Filters: nil,
  65. Params: nil})
  66. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  67. beego.ControllerComments{
  68. Method: "Count",
  69. Router: `/count`,
  70. AllowHTTPMethods: []string{"post"},
  71. MethodParams: param.Make(),
  72. Filters: nil,
  73. Params: nil})
  74. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  75. beego.ControllerComments{
  76. Method: "HotRanked",
  77. Router: `/hotRankedList`,
  78. AllowHTTPMethods: []string{"get"},
  79. MethodParams: param.Make(
  80. param.New("permissionIds"),
  81. param.New("limit"),
  82. ),
  83. Filters: nil,
  84. Params: nil})
  85. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  86. beego.ControllerComments{
  87. Method: "List",
  88. Router: `/list`,
  89. AllowHTTPMethods: []string{"get"},
  90. MethodParams: param.Make(
  91. param.New("permissionIds"),
  92. ),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  96. beego.ControllerComments{
  97. Method: "GetPermissions",
  98. Router: `/permissionList`,
  99. AllowHTTPMethods: []string{"get"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  104. beego.ControllerComments{
  105. Method: "PublishRanked",
  106. Router: `/publishRankedList`,
  107. AllowHTTPMethods: []string{"get"},
  108. MethodParams: param.Make(
  109. param.New("permissionIds"),
  110. param.New("limit"),
  111. param.New("week"),
  112. ),
  113. Filters: nil,
  114. Params: nil})
  115. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  116. beego.ControllerComments{
  117. Method: "GetReport",
  118. Router: `/report`,
  119. AllowHTTPMethods: []string{"get"},
  120. MethodParams: param.Make(
  121. param.New("reportId"),
  122. ),
  123. Filters: nil,
  124. Params: nil})
  125. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  126. beego.ControllerComments{
  127. Method: "Search",
  128. Router: `/search`,
  129. AllowHTTPMethods: []string{"get"},
  130. MethodParams: param.Make(
  131. param.New("key"),
  132. ),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/sys:SysController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/sys:SysController"],
  136. beego.ControllerComments{
  137. Method: "GetConfig",
  138. Router: `/config`,
  139. AllowHTTPMethods: []string{"get"},
  140. MethodParams: param.Make(
  141. param.New("config"),
  142. ),
  143. Filters: nil,
  144. Params: nil})
  145. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AccountController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AccountController"],
  146. beego.ControllerComments{
  147. Method: "GetRiskInfoToken",
  148. Router: `/v1/riskTestToken/`,
  149. AllowHTTPMethods: []string{"get"},
  150. MethodParams: param.Make(),
  151. Filters: nil,
  152. Params: nil})
  153. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  154. beego.ControllerComments{
  155. Method: "AnalystDetail",
  156. Router: `/analystDetail`,
  157. AllowHTTPMethods: []string{"get"},
  158. MethodParams: param.Make(
  159. param.New("analystId"),
  160. ),
  161. Filters: nil,
  162. Params: nil})
  163. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  164. beego.ControllerComments{
  165. Method: "AnalystList",
  166. Router: `/list`,
  167. AllowHTTPMethods: []string{"get"},
  168. MethodParams: param.Make(),
  169. Filters: nil,
  170. Params: nil})
  171. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  172. beego.ControllerComments{
  173. Method: "MediaList",
  174. Router: `/mediaList`,
  175. AllowHTTPMethods: []string{"get"},
  176. MethodParams: param.Make(
  177. param.New("mediaType"),
  178. param.New("analystId"),
  179. ),
  180. Filters: nil,
  181. Params: nil})
  182. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  183. beego.ControllerComments{
  184. Method: "AnalystReportList",
  185. Router: `/reportList`,
  186. AllowHTTPMethods: []string{"get"},
  187. MethodParams: param.Make(
  188. param.New("analystName"),
  189. ),
  190. Filters: nil,
  191. Params: nil})
  192. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  193. beego.ControllerComments{
  194. Method: "AreaCodes",
  195. Router: `/areaCodes`,
  196. AllowHTTPMethods: []string{"get"},
  197. MethodParams: param.Make(),
  198. Filters: nil,
  199. Params: nil})
  200. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  201. beego.ControllerComments{
  202. Method: "Disclaimer",
  203. Router: `/disclaimer`,
  204. AllowHTTPMethods: []string{"get"},
  205. MethodParams: param.Make(),
  206. Filters: nil,
  207. Params: nil})
  208. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  209. beego.ControllerComments{
  210. Method: "Login",
  211. Router: `/login`,
  212. AllowHTTPMethods: []string{"post"},
  213. MethodParams: param.Make(),
  214. Filters: nil,
  215. Params: nil})
  216. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  217. beego.ControllerComments{
  218. Method: "Logout",
  219. Router: `/logout`,
  220. AllowHTTPMethods: []string{"post"},
  221. MethodParams: param.Make(),
  222. Filters: nil,
  223. Params: nil})
  224. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  225. beego.ControllerComments{
  226. Method: "Notice",
  227. Router: `/notice`,
  228. AllowHTTPMethods: []string{"get"},
  229. MethodParams: param.Make(),
  230. Filters: nil,
  231. Params: nil})
  232. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  233. beego.ControllerComments{
  234. Method: "RefreshToken",
  235. Router: `/refreshToken`,
  236. AllowHTTPMethods: []string{"get"},
  237. MethodParams: param.Make(
  238. param.New("code"),
  239. ),
  240. Filters: nil,
  241. Params: nil})
  242. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  243. beego.ControllerComments{
  244. Method: "SMSCode",
  245. Router: `/sendCode`,
  246. AllowHTTPMethods: []string{"post"},
  247. MethodParams: param.Make(),
  248. Filters: nil,
  249. Params: nil})
  250. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  251. beego.ControllerComments{
  252. Method: "WXAppid",
  253. Router: `/wxAppid`,
  254. AllowHTTPMethods: []string{"get"},
  255. MethodParams: param.Make(),
  256. Filters: nil,
  257. Params: nil})
  258. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"],
  259. beego.ControllerComments{
  260. Method: "SubscribeProduct",
  261. Router: `/subscribe/createOrder`,
  262. AllowHTTPMethods: []string{"post"},
  263. MethodParams: param.Make(),
  264. Filters: nil,
  265. Params: nil})
  266. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"],
  267. beego.ControllerComments{
  268. Method: "GetOrderDetail",
  269. Router: `/subscribe/orderDetail`,
  270. AllowHTTPMethods: []string{"get"},
  271. MethodParams: param.Make(
  272. param.New("orderId"),
  273. ),
  274. Filters: nil,
  275. Params: nil})
  276. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"],
  277. beego.ControllerComments{
  278. Method: "GetOrderList",
  279. Router: `/subscribe/orderList`,
  280. AllowHTTPMethods: []string{"get"},
  281. MethodParams: param.Make(
  282. param.New("orderStatus"),
  283. ),
  284. Filters: nil,
  285. Params: nil})
  286. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:SubscribeController"],
  287. beego.ControllerComments{
  288. Method: "GetOrderNo",
  289. Router: `/subscribe/orderNo`,
  290. AllowHTTPMethods: []string{"get"},
  291. MethodParams: param.Make(),
  292. Filters: nil,
  293. Params: nil})
  294. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  295. beego.ControllerComments{
  296. Method: "Get",
  297. Router: `/`,
  298. AllowHTTPMethods: []string{"get"},
  299. MethodParams: param.Make(),
  300. Filters: nil,
  301. Params: nil})
  302. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  303. beego.ControllerComments{
  304. Method: "BindGzh",
  305. Router: `/bind_gzh`,
  306. AllowHTTPMethods: []string{"post"},
  307. MethodParams: param.Make(),
  308. Filters: nil,
  309. Params: nil})
  310. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  311. beego.ControllerComments{
  312. Method: "CheckFollowStatus",
  313. Router: `/checkFollowStatus`,
  314. AllowHTTPMethods: []string{"get"},
  315. MethodParams: param.Make(
  316. param.New("names"),
  317. ),
  318. Filters: nil,
  319. Params: nil})
  320. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  321. beego.ControllerComments{
  322. Method: "Feedback",
  323. Router: `/feedback`,
  324. AllowHTTPMethods: []string{"post"},
  325. MethodParams: param.Make(),
  326. Filters: nil,
  327. Params: nil})
  328. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  329. beego.ControllerComments{
  330. Method: "FollowAnalyst",
  331. Router: `/followAnalyst`,
  332. AllowHTTPMethods: []string{"post"},
  333. MethodParams: param.Make(),
  334. Filters: nil,
  335. Params: nil})
  336. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  337. beego.ControllerComments{
  338. Method: "FollowAnalysts",
  339. Router: `/followAnalysts`,
  340. AllowHTTPMethods: []string{"post"},
  341. MethodParams: param.Make(),
  342. Filters: nil,
  343. Params: nil})
  344. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  345. beego.ControllerComments{
  346. Method: "FollowingAnalystList",
  347. Router: `/followingAnalystList`,
  348. AllowHTTPMethods: []string{"get"},
  349. MethodParams: param.Make(),
  350. Filters: nil,
  351. Params: nil})
  352. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  353. beego.ControllerComments{
  354. Method: "FollowingAnalysts",
  355. Router: `/followingAnalysts`,
  356. AllowHTTPMethods: []string{"get"},
  357. MethodParams: param.Make(
  358. param.New("analystId"),
  359. ),
  360. Filters: nil,
  361. Params: nil})
  362. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  363. beego.ControllerComments{
  364. Method: "UnReadMessageList",
  365. Router: `/message`,
  366. AllowHTTPMethods: []string{"get"},
  367. MethodParams: param.Make(),
  368. Filters: nil,
  369. Params: nil})
  370. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  371. beego.ControllerComments{
  372. Method: "Profile",
  373. Router: `/profile`,
  374. AllowHTTPMethods: []string{"get"},
  375. MethodParams: param.Make(),
  376. Filters: nil,
  377. Params: nil})
  378. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  379. beego.ControllerComments{
  380. Method: "ReadMessage",
  381. Router: `/readMessage`,
  382. AllowHTTPMethods: []string{"post"},
  383. MethodParams: param.Make(),
  384. Filters: nil,
  385. Params: nil})
  386. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  387. beego.ControllerComments{
  388. Method: "ReadMessages",
  389. Router: `/readMessages`,
  390. AllowHTTPMethods: []string{"post"},
  391. MethodParams: param.Make(),
  392. Filters: nil,
  393. Params: nil})
  394. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  395. beego.ControllerComments{
  396. Method: "Notify",
  397. Router: `/wx/notify`,
  398. AllowHTTPMethods: []string{"get","post"},
  399. MethodParams: param.Make(),
  400. Filters: nil,
  401. Params: nil})
  402. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"],
  403. beego.ControllerComments{
  404. Method: "SyncCustomerAccountInfo",
  405. Router: `/v1/syncAccountInfo/`,
  406. AllowHTTPMethods: []string{"post"},
  407. MethodParams: param.Make(),
  408. Filters: nil,
  409. Params: nil})
  410. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"],
  411. beego.ControllerComments{
  412. Method: "SyncCustomerRiskLevel",
  413. Router: `/v1/syncRiskLevel/`,
  414. AllowHTTPMethods: []string{"post"},
  415. MethodParams: param.Make(),
  416. Filters: nil,
  417. Params: nil})
  418. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers:WebSocketController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers:WebSocketController"],
  419. beego.ControllerComments{
  420. Method: "Connect",
  421. Router: `/connect`,
  422. AllowHTTPMethods: []string{"get"},
  423. MethodParams: param.Make(),
  424. Filters: nil,
  425. Params: nil})
  426. }