commentsRouter.go 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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_data_push/controllers:ClassifyController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:ClassifyController"],
  8. beego.ControllerComments{
  9. Method: "ClassifyList",
  10. Router: `/list`,
  11. AllowHTTPMethods: []string{"post"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["eta/eta_data_push/controllers:ContractController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:ContractController"],
  16. beego.ControllerComments{
  17. Method: "ContractList",
  18. Router: `/list`,
  19. AllowHTTPMethods: []string{"post"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["eta/eta_data_push/controllers:EdbInfoCalculateController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:EdbInfoCalculateController"],
  24. beego.ControllerComments{
  25. Method: "EdbInfoCalculateItem",
  26. Router: `/item`,
  27. AllowHTTPMethods: []string{"post"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["eta/eta_data_push/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:EdbInfoController"],
  32. beego.ControllerComments{
  33. Method: "EdbIndexDetail",
  34. Router: `/detail`,
  35. AllowHTTPMethods: []string{"post"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["eta/eta_data_push/controllers:EdbInfoController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:EdbInfoController"],
  40. beego.ControllerComments{
  41. Method: "EdbIndexItem",
  42. Router: `/item`,
  43. AllowHTTPMethods: []string{"post"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["eta/eta_data_push/controllers:IndexController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:IndexController"],
  48. beego.ControllerComments{
  49. Method: "IndexDataList",
  50. Router: `/data/list`,
  51. AllowHTTPMethods: []string{"post"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. beego.GlobalControllerRouter["eta/eta_data_push/controllers:IndexController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:IndexController"],
  56. beego.ControllerComments{
  57. Method: "IndexDataPageList",
  58. Router: `/data/list_page`,
  59. AllowHTTPMethods: []string{"post"},
  60. MethodParams: param.Make(),
  61. Filters: nil,
  62. Params: nil})
  63. beego.GlobalControllerRouter["eta/eta_data_push/controllers:IndexController"] = append(beego.GlobalControllerRouter["eta/eta_data_push/controllers:IndexController"],
  64. beego.ControllerComments{
  65. Method: "IndexList",
  66. Router: `/list`,
  67. AllowHTTPMethods: []string{"post"},
  68. MethodParams: param.Make(),
  69. Filters: nil,
  70. Params: nil})
  71. }