commentsRouter.go 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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["hongze/hongze_cygxzs/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:UserController"],
  8. beego.ControllerComments{
  9. Method: "ChooseDetail",
  10. Router: `/choose/detail`,
  11. AllowHTTPMethods: []string{"get"},
  12. MethodParams: param.Make(),
  13. Filters: nil,
  14. Params: nil})
  15. beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:UserController"],
  16. beego.ControllerComments{
  17. Method: "ChooseSubmit",
  18. Router: `/choose/submit`,
  19. AllowHTTPMethods: []string{"post"},
  20. MethodParams: param.Make(),
  21. Filters: nil,
  22. Params: nil})
  23. beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatCommonController"],
  24. beego.ControllerComments{
  25. Method: "GetWxSign",
  26. Router: `/getWxSign`,
  27. AllowHTTPMethods: []string{"get"},
  28. MethodParams: param.Make(),
  29. Filters: nil,
  30. Params: nil})
  31. beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatCommonController"],
  32. beego.ControllerComments{
  33. Method: "WechatLoginByxzs",
  34. Router: `/loginByxzs`,
  35. AllowHTTPMethods: []string{"get"},
  36. MethodParams: param.Make(),
  37. Filters: nil,
  38. Params: nil})
  39. beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatCommonController"],
  40. beego.ControllerComments{
  41. Method: "Notify",
  42. Router: `/notify`,
  43. AllowHTTPMethods: []string{"get","post"},
  44. MethodParams: param.Make(),
  45. Filters: nil,
  46. Params: nil})
  47. beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatController"] = append(beego.GlobalControllerRouter["hongze/hongze_cygxzs/controllers:WechatController"],
  48. beego.ControllerComments{
  49. Method: "UserInfo",
  50. Router: `/user/detail`,
  51. AllowHTTPMethods: []string{"get"},
  52. MethodParams: param.Make(),
  53. Filters: nil,
  54. Params: nil})
  55. }