commentsRouter.go 25 KB

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