commentsRouter.go 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  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/chart:ChartController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/chart:ChartController"],
  8. beego.ControllerComments{
  9. Method: "UpdateChartImage",
  10. Router: `/updateChartImage`,
  11. AllowHTTPMethods: []string{"post"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/home:HomeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/home:HomeController"],
  16. beego.ControllerComments{
  17. Method: "Search",
  18. Router: `/search`,
  19. AllowHTTPMethods: []string{"get"},
  20. MethodParams: param.Make(
  21. param.New("key"),
  22. ),
  23. Filters: nil,
  24. Params: nil})
  25. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  26. beego.ControllerComments{
  27. Method: "Count",
  28. Router: `/count`,
  29. AllowHTTPMethods: []string{"post"},
  30. MethodParams: param.Make(),
  31. Filters: nil,
  32. Params: nil})
  33. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  34. beego.ControllerComments{
  35. Method: "List",
  36. Router: `/list`,
  37. AllowHTTPMethods: []string{"get"},
  38. MethodParams: param.Make(
  39. param.New("mediaType"),
  40. param.New("permissionIds"),
  41. ),
  42. Filters: nil,
  43. Params: nil})
  44. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  45. beego.ControllerComments{
  46. Method: "GetMedia",
  47. Router: `/media`,
  48. AllowHTTPMethods: []string{"get"},
  49. MethodParams: param.Make(
  50. param.New("mediaType"),
  51. param.New("mediaId"),
  52. param.New("productId"),
  53. ),
  54. Filters: nil,
  55. Params: nil})
  56. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/media:MediaController"],
  57. beego.ControllerComments{
  58. Method: "Search",
  59. Router: `/search`,
  60. AllowHTTPMethods: []string{"get"},
  61. MethodParams: param.Make(
  62. param.New("mediaType"),
  63. param.New("key"),
  64. ),
  65. Filters: nil,
  66. Params: nil})
  67. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:OrderController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:OrderController"],
  68. beego.ControllerComments{
  69. Method: "PreviewProductOrder",
  70. Router: `/previewProductOrder`,
  71. AllowHTTPMethods: []string{"get"},
  72. MethodParams: param.Make(
  73. param.New("productId"),
  74. ),
  75. Filters: nil,
  76. Params: nil})
  77. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"],
  78. beego.ControllerComments{
  79. Method: "CloseOrder",
  80. Router: `/closeOrder`,
  81. AllowHTTPMethods: []string{"post"},
  82. MethodParams: param.Make(),
  83. Filters: nil,
  84. Params: nil})
  85. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"],
  86. beego.ControllerComments{
  87. Method: "GetOrderDetail",
  88. Router: `/orderDetail`,
  89. AllowHTTPMethods: []string{"get"},
  90. MethodParams: param.Make(
  91. param.New("orderNo"),
  92. ),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"],
  96. beego.ControllerComments{
  97. Method: "GetOrderList",
  98. Router: `/orderList`,
  99. AllowHTTPMethods: []string{"get"},
  100. MethodParams: param.Make(
  101. param.New("orderStatus"),
  102. ),
  103. Filters: nil,
  104. Params: nil})
  105. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"],
  106. beego.ControllerComments{
  107. Method: "GetOrderNo",
  108. Router: `/orderNo`,
  109. AllowHTTPMethods: []string{"get"},
  110. MethodParams: param.Make(),
  111. Filters: nil,
  112. Params: nil})
  113. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"],
  114. beego.ControllerComments{
  115. Method: "SubscribeProduct",
  116. Router: `/subscribe`,
  117. AllowHTTPMethods: []string{"post"},
  118. MethodParams: param.Make(),
  119. Filters: nil,
  120. Params: nil})
  121. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/order:SubscribeController"],
  122. beego.ControllerComments{
  123. Method: "SubscribeList",
  124. Router: `/subscribeList`,
  125. AllowHTTPMethods: []string{"get"},
  126. MethodParams: param.Make(
  127. param.New("productType"),
  128. ),
  129. Filters: nil,
  130. Params: nil})
  131. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/payment:PaymentController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/payment:PaymentController"],
  132. beego.ControllerComments{
  133. Method: "PayOrder",
  134. Router: `/payOrder`,
  135. AllowHTTPMethods: []string{"post"},
  136. MethodParams: param.Make(),
  137. Filters: nil,
  138. Params: nil})
  139. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"],
  140. beego.ControllerComments{
  141. Method: "ProductList",
  142. Router: `/ProductList`,
  143. AllowHTTPMethods: []string{"get"},
  144. MethodParams: param.Make(
  145. param.New("productType"),
  146. param.New("permissionIds"),
  147. ),
  148. Filters: nil,
  149. Params: nil})
  150. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"],
  151. beego.ControllerComments{
  152. Method: "GetProductInfo",
  153. Router: `/getProductInfo`,
  154. AllowHTTPMethods: []string{"get"},
  155. MethodParams: param.Make(
  156. param.New("productId"),
  157. ),
  158. Filters: nil,
  159. Params: nil})
  160. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"],
  161. beego.ControllerComments{
  162. Method: "ProductSearch",
  163. Router: `/productSearch`,
  164. AllowHTTPMethods: []string{"get"},
  165. MethodParams: param.Make(
  166. param.New("key"),
  167. param.New("isSignal"),
  168. ),
  169. Filters: nil,
  170. Params: nil})
  171. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/product:ProductController"],
  172. beego.ControllerComments{
  173. Method: "RelatePackage",
  174. Router: `/relatePackage`,
  175. AllowHTTPMethods: []string{"get"},
  176. MethodParams: param.Make(
  177. param.New("productId"),
  178. ),
  179. Filters: nil,
  180. Params: nil})
  181. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  182. beego.ControllerComments{
  183. Method: "Count",
  184. Router: `/count`,
  185. AllowHTTPMethods: []string{"post"},
  186. MethodParams: param.Make(),
  187. Filters: nil,
  188. Params: nil})
  189. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  190. beego.ControllerComments{
  191. Method: "HotRanked",
  192. Router: `/hotRankedList`,
  193. AllowHTTPMethods: []string{"get"},
  194. MethodParams: param.Make(
  195. param.New("permissionIds"),
  196. param.New("limit"),
  197. ),
  198. Filters: nil,
  199. Params: nil})
  200. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  201. beego.ControllerComments{
  202. Method: "List",
  203. Router: `/list`,
  204. AllowHTTPMethods: []string{"get"},
  205. MethodParams: param.Make(
  206. param.New("permissionIds"),
  207. ),
  208. Filters: nil,
  209. Params: nil})
  210. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  211. beego.ControllerComments{
  212. Method: "GetPermissions",
  213. Router: `/permissionList`,
  214. AllowHTTPMethods: []string{"get"},
  215. MethodParams: param.Make(),
  216. Filters: nil,
  217. Params: nil})
  218. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  219. beego.ControllerComments{
  220. Method: "PublishRanked",
  221. Router: `/publishRankedList`,
  222. AllowHTTPMethods: []string{"get"},
  223. MethodParams: param.Make(
  224. param.New("permissionIds"),
  225. param.New("limit"),
  226. param.New("week"),
  227. ),
  228. Filters: nil,
  229. Params: nil})
  230. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  231. beego.ControllerComments{
  232. Method: "GetReport",
  233. Router: `/report`,
  234. AllowHTTPMethods: []string{"get"},
  235. MethodParams: param.Make(
  236. param.New("reportId"),
  237. param.New("productId"),
  238. ),
  239. Filters: nil,
  240. Params: nil})
  241. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/report:ReportController"],
  242. beego.ControllerComments{
  243. Method: "Search",
  244. Router: `/search`,
  245. AllowHTTPMethods: []string{"get"},
  246. MethodParams: param.Make(
  247. param.New("key"),
  248. ),
  249. Filters: nil,
  250. Params: nil})
  251. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/sys:SysController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/sys:SysController"],
  252. beego.ControllerComments{
  253. Method: "GetConfig",
  254. Router: `/config`,
  255. AllowHTTPMethods: []string{"get"},
  256. MethodParams: param.Make(
  257. param.New("config"),
  258. ),
  259. Filters: nil,
  260. Params: nil})
  261. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/sys:SysController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/sys:SysController"],
  262. beego.ControllerComments{
  263. Method: "GetQRCode",
  264. Router: `/getQRCode`,
  265. AllowHTTPMethods: []string{"get"},
  266. MethodParams: param.Make(
  267. param.New("code"),
  268. ),
  269. Filters: nil,
  270. Params: nil})
  271. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AccountController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AccountController"],
  272. beego.ControllerComments{
  273. Method: "CheckUserStatus",
  274. Router: `/checkUserStatus/`,
  275. AllowHTTPMethods: []string{"post"},
  276. MethodParams: param.Make(),
  277. Filters: nil,
  278. Params: nil})
  279. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AccountController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AccountController"],
  280. beego.ControllerComments{
  281. Method: "GetRiskInfoToken",
  282. Router: `/v1/riskTestToken/`,
  283. AllowHTTPMethods: []string{"get"},
  284. MethodParams: param.Make(),
  285. Filters: nil,
  286. Params: nil})
  287. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  288. beego.ControllerComments{
  289. Method: "AnalystDetail",
  290. Router: `/analystDetail`,
  291. AllowHTTPMethods: []string{"get"},
  292. MethodParams: param.Make(
  293. param.New("analystId"),
  294. ),
  295. Filters: nil,
  296. Params: nil})
  297. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  298. beego.ControllerComments{
  299. Method: "AnalystList",
  300. Router: `/list`,
  301. AllowHTTPMethods: []string{"get"},
  302. MethodParams: param.Make(),
  303. Filters: nil,
  304. Params: nil})
  305. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  306. beego.ControllerComments{
  307. Method: "MediaList",
  308. Router: `/mediaList`,
  309. AllowHTTPMethods: []string{"get"},
  310. MethodParams: param.Make(
  311. param.New("mediaType"),
  312. param.New("analystId"),
  313. ),
  314. Filters: nil,
  315. Params: nil})
  316. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AnalystController"],
  317. beego.ControllerComments{
  318. Method: "AnalystReportList",
  319. Router: `/reportList`,
  320. AllowHTTPMethods: []string{"get"},
  321. MethodParams: param.Make(
  322. param.New("analystName"),
  323. ),
  324. Filters: nil,
  325. Params: nil})
  326. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  327. beego.ControllerComments{
  328. Method: "AreaCodes",
  329. Router: `/areaCodes`,
  330. AllowHTTPMethods: []string{"get"},
  331. MethodParams: param.Make(),
  332. Filters: nil,
  333. Params: nil})
  334. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  335. beego.ControllerComments{
  336. Method: "Disclaimer",
  337. Router: `/disclaimer`,
  338. AllowHTTPMethods: []string{"get"},
  339. MethodParams: param.Make(),
  340. Filters: nil,
  341. Params: nil})
  342. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  343. beego.ControllerComments{
  344. Method: "Login",
  345. Router: `/login`,
  346. AllowHTTPMethods: []string{"post"},
  347. MethodParams: param.Make(),
  348. Filters: nil,
  349. Params: nil})
  350. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  351. beego.ControllerComments{
  352. Method: "Logout",
  353. Router: `/logout`,
  354. AllowHTTPMethods: []string{"post"},
  355. MethodParams: param.Make(),
  356. Filters: nil,
  357. Params: nil})
  358. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  359. beego.ControllerComments{
  360. Method: "Notice",
  361. Router: `/notice`,
  362. AllowHTTPMethods: []string{"get"},
  363. MethodParams: param.Make(),
  364. Filters: nil,
  365. Params: nil})
  366. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  367. beego.ControllerComments{
  368. Method: "RefreshToken",
  369. Router: `/refreshToken`,
  370. AllowHTTPMethods: []string{"get"},
  371. MethodParams: param.Make(
  372. param.New("code"),
  373. ),
  374. Filters: nil,
  375. Params: nil})
  376. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  377. beego.ControllerComments{
  378. Method: "SMSCode",
  379. Router: `/sendCode`,
  380. AllowHTTPMethods: []string{"post"},
  381. MethodParams: param.Make(),
  382. Filters: nil,
  383. Params: nil})
  384. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:AuthController"],
  385. beego.ControllerComments{
  386. Method: "WXAppid",
  387. Router: `/wxAppid`,
  388. AllowHTTPMethods: []string{"get"},
  389. MethodParams: param.Make(),
  390. Filters: nil,
  391. Params: nil})
  392. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"],
  393. beego.ControllerComments{
  394. Method: "BookMark",
  395. Router: `/bookMark`,
  396. AllowHTTPMethods: []string{"post"},
  397. MethodParams: param.Make(),
  398. Filters: nil,
  399. Params: nil})
  400. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"],
  401. beego.ControllerComments{
  402. Method: "BookMarkList",
  403. Router: `/bookMarkList`,
  404. AllowHTTPMethods: []string{"get"},
  405. MethodParams: param.Make(
  406. param.New("sourceType"),
  407. ),
  408. Filters: nil,
  409. Params: nil})
  410. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"],
  411. beego.ControllerComments{
  412. Method: "BookMarkSearch",
  413. Router: `/bookMarkSearch`,
  414. AllowHTTPMethods: []string{"get"},
  415. MethodParams: param.Make(
  416. param.New("key"),
  417. ),
  418. Filters: nil,
  419. Params: nil})
  420. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"],
  421. beego.ControllerComments{
  422. Method: "ChartList",
  423. Router: `/bookmark/chartList`,
  424. AllowHTTPMethods: []string{"get"},
  425. MethodParams: param.Make(
  426. param.New("key"),
  427. ),
  428. Filters: nil,
  429. Params: nil})
  430. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"],
  431. beego.ControllerComments{
  432. Method: "CheckBookMark",
  433. Router: `/checkBookMark`,
  434. AllowHTTPMethods: []string{"post"},
  435. MethodParams: param.Make(),
  436. Filters: nil,
  437. Params: nil})
  438. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"],
  439. beego.ControllerComments{
  440. Method: "SearchBookMark",
  441. Router: `/searchBookMark`,
  442. AllowHTTPMethods: []string{"get"},
  443. MethodParams: param.Make(
  444. param.New("sourceType"),
  445. param.New("key"),
  446. ),
  447. Filters: nil,
  448. Params: nil})
  449. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:BookMarkController"],
  450. beego.ControllerComments{
  451. Method: "UnBookMark",
  452. Router: `/unBookMark`,
  453. AllowHTTPMethods: []string{"post"},
  454. MethodParams: param.Make(),
  455. Filters: nil,
  456. Params: nil})
  457. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  458. beego.ControllerComments{
  459. Method: "Get",
  460. Router: `/`,
  461. AllowHTTPMethods: []string{"get"},
  462. MethodParams: param.Make(),
  463. Filters: nil,
  464. Params: nil})
  465. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  466. beego.ControllerComments{
  467. Method: "BindGzh",
  468. Router: `/bind_gzh`,
  469. AllowHTTPMethods: []string{"post"},
  470. MethodParams: param.Make(),
  471. Filters: nil,
  472. Params: nil})
  473. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  474. beego.ControllerComments{
  475. Method: "CheckFollowStatus",
  476. Router: `/checkFollowStatus`,
  477. AllowHTTPMethods: []string{"get"},
  478. MethodParams: param.Make(
  479. param.New("names"),
  480. ),
  481. Filters: nil,
  482. Params: nil})
  483. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  484. beego.ControllerComments{
  485. Method: "Feedback",
  486. Router: `/feedback`,
  487. AllowHTTPMethods: []string{"post"},
  488. MethodParams: param.Make(),
  489. Filters: nil,
  490. Params: nil})
  491. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  492. beego.ControllerComments{
  493. Method: "FollowAnalyst",
  494. Router: `/followAnalyst`,
  495. AllowHTTPMethods: []string{"post"},
  496. MethodParams: param.Make(),
  497. Filters: nil,
  498. Params: nil})
  499. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  500. beego.ControllerComments{
  501. Method: "FollowAnalysts",
  502. Router: `/followAnalysts`,
  503. AllowHTTPMethods: []string{"post"},
  504. MethodParams: param.Make(),
  505. Filters: nil,
  506. Params: nil})
  507. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  508. beego.ControllerComments{
  509. Method: "FollowingAnalystList",
  510. Router: `/followingAnalystList`,
  511. AllowHTTPMethods: []string{"get"},
  512. MethodParams: param.Make(),
  513. Filters: nil,
  514. Params: nil})
  515. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  516. beego.ControllerComments{
  517. Method: "FollowingAnalysts",
  518. Router: `/followingAnalysts`,
  519. AllowHTTPMethods: []string{"get"},
  520. MethodParams: param.Make(
  521. param.New("analystId"),
  522. ),
  523. Filters: nil,
  524. Params: nil})
  525. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  526. beego.ControllerComments{
  527. Method: "UnReadMessageList",
  528. Router: `/message`,
  529. AllowHTTPMethods: []string{"get"},
  530. MethodParams: param.Make(),
  531. Filters: nil,
  532. Params: nil})
  533. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  534. beego.ControllerComments{
  535. Method: "Profile",
  536. Router: `/profile`,
  537. AllowHTTPMethods: []string{"get"},
  538. MethodParams: param.Make(),
  539. Filters: nil,
  540. Params: nil})
  541. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  542. beego.ControllerComments{
  543. Method: "ReadMessage",
  544. Router: `/readMessage`,
  545. AllowHTTPMethods: []string{"post"},
  546. MethodParams: param.Make(),
  547. Filters: nil,
  548. Params: nil})
  549. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  550. beego.ControllerComments{
  551. Method: "ReadMessages",
  552. Router: `/readMessages`,
  553. AllowHTTPMethods: []string{"post"},
  554. MethodParams: param.Make(),
  555. Filters: nil,
  556. Params: nil})
  557. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/user:UserController"],
  558. beego.ControllerComments{
  559. Method: "Notify",
  560. Router: `/wx/notify`,
  561. AllowHTTPMethods: []string{"get","post"},
  562. MethodParams: param.Make(),
  563. Filters: nil,
  564. Params: nil})
  565. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:ESController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:ESController"],
  566. beego.ControllerComments{
  567. Method: "DeleteEsData",
  568. Router: `/es/delete/`,
  569. AllowHTTPMethods: []string{"post"},
  570. MethodParams: param.Make(),
  571. Filters: nil,
  572. Params: nil})
  573. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"],
  574. beego.ControllerComments{
  575. Method: "SyncCustomerAccountInfo",
  576. Router: `/v1/syncAccountInfo/`,
  577. AllowHTTPMethods: []string{"post"},
  578. MethodParams: param.Make(),
  579. Filters: nil,
  580. Params: nil})
  581. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesAccountController"],
  582. beego.ControllerComments{
  583. Method: "SyncCustomerRiskLevel",
  584. Router: `/v1/syncRiskLevel/`,
  585. AllowHTTPMethods: []string{"post"},
  586. MethodParams: param.Make(),
  587. Filters: nil,
  588. Params: nil})
  589. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesTradeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesTradeController"],
  590. beego.ControllerComments{
  591. Method: "InformPaymentResult",
  592. Router: `/v1/payment/informPaymentResult`,
  593. AllowHTTPMethods: []string{"post"},
  594. MethodParams: param.Make(),
  595. Filters: nil,
  596. Params: nil})
  597. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesTradeController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers/web_hook:HTFuturesTradeController"],
  598. beego.ControllerComments{
  599. Method: "InformRefundResult",
  600. Router: `/v1/payment/informRefundResult`,
  601. AllowHTTPMethods: []string{"post"},
  602. MethodParams: param.Make(),
  603. Filters: nil,
  604. Params: nil})
  605. beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers:WebSocketController"] = append(beego.GlobalControllerRouter["eta/eta_mini_ht_api/controllers:WebSocketController"],
  606. beego.ControllerComments{
  607. Method: "Connect",
  608. Router: `/connect`,
  609. AllowHTTPMethods: []string{"get"},
  610. MethodParams: param.Make(),
  611. Filters: nil,
  612. Params: nil})
  613. }