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_gn/eta_index_lib/controllers/factor_edb_series:FactorEdbSeriesController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers/factor_edb_series:FactorEdbSeriesController"],
  8. beego.ControllerComments{
  9. Method: "ChartRecalculate",
  10. Router: `/chart_recalculate`,
  11. AllowHTTPMethods: []string{"post"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers/factor_edb_series:FactorEdbSeriesController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers/factor_edb_series:FactorEdbSeriesController"],
  16. beego.ControllerComments{
  17. Method: "Recalculate",
  18. Router: `/recalculate`,
  19. AllowHTTPMethods: []string{"post"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers/open:EdbInfoController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers/open:EdbInfoController"],
  24. beego.ControllerComments{
  25. Method: "Detail",
  26. Router: `/edb/detail`,
  27. AllowHTTPMethods: []string{"post"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BaseFromTradeAnalysisController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BaseFromTradeAnalysisController"],
  32. beego.ControllerComments{
  33. Method: "EdbRefresh",
  34. Router: `/edb/refresh`,
  35. AllowHTTPMethods: []string{"post"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"],
  40. beego.ControllerComments{
  41. Method: "Add",
  42. Router: `/add`,
  43. AllowHTTPMethods: []string{"post"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"],
  48. beego.ControllerComments{
  49. Method: "DelIndexData",
  50. Router: `/data/del`,
  51. AllowHTTPMethods: []string{"post"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"],
  56. beego.ControllerComments{
  57. Method: "Edit",
  58. Router: `/edit`,
  59. AllowHTTPMethods: []string{"post"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"],
  64. beego.ControllerComments{
  65. Method: "HandleBusinessIndexData",
  66. Router: `/handle`,
  67. AllowHTTPMethods: []string{"post"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"],
  72. beego.ControllerComments{
  73. Method: "DelIndex",
  74. Router: `/index/del`,
  75. AllowHTTPMethods: []string{"post"},
  76. MethodParams: param.Make(),
  77. Filters: nil,
  78. Params: nil})
  79. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:BusinessIndexController"],
  80. beego.ControllerComments{
  81. Method: "Refresh",
  82. Router: `/refresh`,
  83. AllowHTTPMethods: []string{"post"},
  84. MethodParams: param.Make(),
  85. Filters: nil,
  86. Params: nil})
  87. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  88. beego.ControllerComments{
  89. Method: "Add",
  90. Router: `/add`,
  91. AllowHTTPMethods: []string{"post"},
  92. MethodParams: param.Make(),
  93. Filters: nil,
  94. Params: nil})
  95. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  96. beego.ControllerComments{
  97. Method: "SaveAdjust",
  98. Router: `/adjust/save`,
  99. AllowHTTPMethods: []string{"post"},
  100. MethodParams: param.Make(),
  101. Filters: nil,
  102. Params: nil})
  103. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  104. beego.ControllerComments{
  105. Method: "Calculate",
  106. Router: `/base`,
  107. AllowHTTPMethods: []string{"post"},
  108. MethodParams: param.Make(),
  109. Filters: nil,
  110. Params: nil})
  111. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  112. beego.ControllerComments{
  113. Method: "StepCalculate",
  114. Router: `/base/step_calculate`,
  115. AllowHTTPMethods: []string{"post"},
  116. MethodParams: param.Make(),
  117. Filters: nil,
  118. Params: nil})
  119. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  120. beego.ControllerComments{
  121. Method: "BatchEdit",
  122. Router: `/batch/edit`,
  123. AllowHTTPMethods: []string{"post"},
  124. MethodParams: param.Make(),
  125. Filters: nil,
  126. Params: nil})
  127. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  128. beego.ControllerComments{
  129. Method: "BatchEditMulti",
  130. Router: `/batch/edit/multi`,
  131. AllowHTTPMethods: []string{"post"},
  132. MethodParams: param.Make(),
  133. Filters: nil,
  134. Params: nil})
  135. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  136. beego.ControllerComments{
  137. Method: "BatchSave",
  138. Router: `/batch/save`,
  139. AllowHTTPMethods: []string{"post"},
  140. MethodParams: param.Make(),
  141. Filters: nil,
  142. Params: nil})
  143. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  144. beego.ControllerComments{
  145. Method: "BatchSaveMulti",
  146. Router: `/batch/save/multi`,
  147. AllowHTTPMethods: []string{"post"},
  148. MethodParams: param.Make(),
  149. Filters: nil,
  150. Params: nil})
  151. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  152. beego.ControllerComments{
  153. Method: "CalculateComputeCorrelation",
  154. Router: `/compute_correlation`,
  155. AllowHTTPMethods: []string{"post"},
  156. MethodParams: param.Make(),
  157. Filters: nil,
  158. Params: nil})
  159. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  160. beego.ControllerComments{
  161. Method: "ResetCustomAnalysisData",
  162. Router: `/custom_analysis/reset`,
  163. AllowHTTPMethods: []string{"post"},
  164. MethodParams: param.Make(),
  165. Filters: nil,
  166. Params: nil})
  167. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  168. beego.ControllerComments{
  169. Method: "Edit",
  170. Router: `/edit`,
  171. AllowHTTPMethods: []string{"post"},
  172. MethodParams: param.Make(),
  173. Filters: nil,
  174. Params: nil})
  175. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:CalculateController"],
  176. beego.ControllerComments{
  177. Method: "Refresh",
  178. Router: `/refresh`,
  179. AllowHTTPMethods: []string{"post"},
  180. MethodParams: param.Make(),
  181. Filters: nil,
  182. Params: nil})
  183. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbClassifyController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbClassifyController"],
  184. beego.ControllerComments{
  185. Method: "GetOrAdd",
  186. Router: `/get_or_add`,
  187. AllowHTTPMethods: []string{"post"},
  188. MethodParams: param.Make(),
  189. Filters: nil,
  190. Params: nil})
  191. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"],
  192. beego.ControllerComments{
  193. Method: "ResetEdbClassify",
  194. Router: `/classify_reset`,
  195. AllowHTTPMethods: []string{"post"},
  196. MethodParams: param.Make(),
  197. Filters: nil,
  198. Params: nil})
  199. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"],
  200. beego.ControllerComments{
  201. Method: "CopyCalculateFromHz",
  202. Router: `/copy/calculate/from/hz`,
  203. AllowHTTPMethods: []string{"post"},
  204. MethodParams: param.Make(),
  205. Filters: nil,
  206. Params: nil})
  207. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"],
  208. beego.ControllerComments{
  209. Method: "CopyFromHz",
  210. Router: `/copy/from/hz`,
  211. AllowHTTPMethods: []string{"post"},
  212. MethodParams: param.Make(),
  213. Filters: nil,
  214. Params: nil})
  215. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"],
  216. beego.ControllerComments{
  217. Method: "EdbIndexDetail",
  218. Router: `/detail`,
  219. AllowHTTPMethods: []string{"post"},
  220. MethodParams: param.Make(),
  221. Filters: nil,
  222. Params: nil})
  223. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoController"],
  224. beego.ControllerComments{
  225. Method: "RefreshCheck",
  226. Router: `/refresh_check`,
  227. AllowHTTPMethods: []string{"post"},
  228. MethodParams: param.Make(),
  229. Filters: nil,
  230. Params: nil})
  231. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoStatController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbInfoStatController"],
  232. beego.ControllerComments{
  233. Method: "SetEdbSourceStat",
  234. Router: `/source_update`,
  235. AllowHTTPMethods: []string{"post"},
  236. MethodParams: param.Make(),
  237. Filters: nil,
  238. Params: nil})
  239. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbRefreshController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbRefreshController"],
  240. beego.ControllerComments{
  241. Method: "GetDefaultConfigList",
  242. Router: `/config/default/list`,
  243. AllowHTTPMethods: []string{"post"},
  244. MethodParams: param.Make(),
  245. Filters: nil,
  246. Params: nil})
  247. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbRefreshController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbRefreshController"],
  248. beego.ControllerComments{
  249. Method: "GetMysteelIndexConfigList",
  250. Router: `/config/mysteel_index/list`,
  251. AllowHTTPMethods: []string{"post"},
  252. MethodParams: param.Make(),
  253. Filters: nil,
  254. Params: nil})
  255. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbRefreshController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:EdbRefreshController"],
  256. beego.ControllerComments{
  257. Method: "GetSmmConfigList",
  258. Router: `/config/smm/list`,
  259. AllowHTTPMethods: []string{"post"},
  260. MethodParams: param.Make(),
  261. Filters: nil,
  262. Params: nil})
  263. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:GnController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:GnController"],
  264. beego.ControllerComments{
  265. Method: "Refresh",
  266. Router: `/refresh`,
  267. AllowHTTPMethods: []string{"post"},
  268. MethodParams: param.Make(),
  269. Filters: nil,
  270. Params: nil})
  271. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:ManualController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:ManualController"],
  272. beego.ControllerComments{
  273. Method: "Add",
  274. Router: `/add`,
  275. AllowHTTPMethods: []string{"post"},
  276. MethodParams: param.Make(),
  277. Filters: nil,
  278. Params: nil})
  279. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:ManualController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:ManualController"],
  280. beego.ControllerComments{
  281. Method: "Refresh",
  282. Router: `/refresh`,
  283. AllowHTTPMethods: []string{"post"},
  284. MethodParams: param.Make(),
  285. Filters: nil,
  286. Params: nil})
  287. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"],
  288. beego.ControllerComments{
  289. Method: "CalculateBatchSave",
  290. Router: `/batch/save`,
  291. AllowHTTPMethods: []string{"post"},
  292. MethodParams: param.Make(),
  293. Filters: nil,
  294. Params: nil})
  295. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"],
  296. beego.ControllerComments{
  297. Method: "CalculateComputeCorrelation",
  298. Router: `/compute_correlation`,
  299. AllowHTTPMethods: []string{"post"},
  300. MethodParams: param.Make(),
  301. Filters: nil,
  302. Params: nil})
  303. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"],
  304. beego.ControllerComments{
  305. Method: "Refresh",
  306. Router: `/refresh`,
  307. AllowHTTPMethods: []string{"post"},
  308. MethodParams: param.Make(),
  309. Filters: nil,
  310. Params: nil})
  311. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictCalculateController"],
  312. beego.ControllerComments{
  313. Method: "Save",
  314. Router: `/save`,
  315. AllowHTTPMethods: []string{"post"},
  316. MethodParams: param.Make(),
  317. Filters: nil,
  318. Params: nil})
  319. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictController"],
  320. beego.ControllerComments{
  321. Method: "CalculateByNinePreview",
  322. Router: `/calculate_by_nine/preview`,
  323. AllowHTTPMethods: []string{"post"},
  324. MethodParams: param.Make(),
  325. Filters: nil,
  326. Params: nil})
  327. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictController"],
  328. beego.ControllerComments{
  329. Method: "Refresh",
  330. Router: `/refresh`,
  331. AllowHTTPMethods: []string{"post"},
  332. MethodParams: param.Make(),
  333. Filters: nil,
  334. Params: nil})
  335. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PredictController"],
  336. beego.ControllerComments{
  337. Method: "Save",
  338. Router: `/save`,
  339. AllowHTTPMethods: []string{"post"},
  340. MethodParams: param.Make(),
  341. Filters: nil,
  342. Params: nil})
  343. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PythonController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PythonController"],
  344. beego.ControllerComments{
  345. Method: "Add",
  346. Router: `/add`,
  347. AllowHTTPMethods: []string{"post"},
  348. MethodParams: param.Make(),
  349. Filters: nil,
  350. Params: nil})
  351. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PythonController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PythonController"],
  352. beego.ControllerComments{
  353. Method: "Edit",
  354. Router: `/edit`,
  355. AllowHTTPMethods: []string{"post"},
  356. MethodParams: param.Make(),
  357. Filters: nil,
  358. Params: nil})
  359. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PythonController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:PythonController"],
  360. beego.ControllerComments{
  361. Method: "ExcePython",
  362. Router: `/exec`,
  363. AllowHTTPMethods: []string{"post"},
  364. MethodParams: param.Make(),
  365. Filters: nil,
  366. Params: nil})
  367. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:StockPlantController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:StockPlantController"],
  368. beego.ControllerComments{
  369. Method: "Calculate",
  370. Router: `/calculate`,
  371. AllowHTTPMethods: []string{"post"},
  372. MethodParams: param.Make(),
  373. Filters: nil,
  374. Params: nil})
  375. beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:StockPlantController"] = append(beego.GlobalControllerRouter["eta_gn/eta_index_lib/controllers:StockPlantController"],
  376. beego.ControllerComments{
  377. Method: "Refresh",
  378. Router: `/refresh`,
  379. AllowHTTPMethods: []string{"post"},
  380. MethodParams: param.Make(),
  381. Filters: nil,
  382. Params: nil})
  383. }