rdluck 4 年之前
父节点
当前提交
c0539812c3
共有 1 个文件被更改,包括 0 次插入226 次删除
  1. 0 226
      routers/commentsRouter_controllers.go

+ 0 - 226
routers/commentsRouter_controllers.go

@@ -1,226 +0,0 @@
-package routers
-
-import (
-	"github.com/astaxie/beego"
-	"github.com/astaxie/beego/context/param"
-)
-
-func init() {
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyCommonController"],
-        beego.ControllerComments{
-            Method: "List",
-            Router: "/pc/list",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ClassifyController"],
-        beego.ControllerComments{
-            Method: "Detail",
-            Router: "/detail",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeCommonController"],
-        beego.ControllerComments{
-            Method: "ListHome",
-            Router: "/pc/list",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"],
-        beego.ControllerComments{
-            Method: "ListBanner",
-            Router: "/banner",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:HomeController"],
-        beego.ControllerComments{
-            Method: "ListHome",
-            Router: "/list",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
-        beego.ControllerComments{
-            Method: "AddAudioRecord",
-            Router: "/addAudioRecord",
-            AllowHTTPMethods: []string{"post"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
-        beego.ControllerComments{
-            Method: "AddUpdateLabelReport",
-            Router: "/addUpdateLabel",
-            AllowHTTPMethods: []string{"post"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
-        beego.ControllerComments{
-            Method: "AddViewRecordReport",
-            Router: "/addViewRecord",
-            AllowHTTPMethods: []string{"post"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
-        beego.ControllerComments{
-            Method: "AuthorDetail",
-            Router: "/author/detail",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
-        beego.ControllerComments{
-            Method: "Detail",
-            Router: "/detail",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportController"],
-        beego.ControllerComments{
-            Method: "ListReport",
-            Router: "/list",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportShareController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:ReportShareController"],
-        beego.ControllerComments{
-            Method: "Detail",
-            Router: "/share/detail",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
-        beego.ControllerComments{
-            Method: "CheckEmailCode",
-            Router: "/checkEmailCode",
-            AllowHTTPMethods: []string{"post"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
-        beego.ControllerComments{
-            Method: "CheckSmsCode",
-            Router: "/checkSmsCode",
-            AllowHTTPMethods: []string{"post"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
-        beego.ControllerComments{
-            Method: "GetEmailCode",
-            Router: "/getEmailCode",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserCommonController"],
-        beego.ControllerComments{
-            Method: "GetSmsCode",
-            Router: "/getSmsCode",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
-        beego.ControllerComments{
-            Method: "Apply",
-            Router: "/apply",
-            AllowHTTPMethods: []string{"post"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
-        beego.ControllerComments{
-            Method: "Detail",
-            Router: "/detail",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
-        beego.ControllerComments{
-            Method: "Login",
-            Router: "/login",
-            AllowHTTPMethods: []string{"post"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:UserController"],
-        beego.ControllerComments{
-            Method: "SmallLimit",
-            Router: "/smallLimit",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:VideoController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:VideoController"],
-        beego.ControllerComments{
-            Method: "List",
-            Router: "/list",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:VideoController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:VideoController"],
-        beego.ControllerComments{
-            Method: "TagsList",
-            Router: "/tags/list",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatCommonController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatCommonController"],
-        beego.ControllerComments{
-            Method: "WechatLogin",
-            Router: "/login",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-    beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatController"] = append(beego.GlobalControllerRouter["hongze/hongze_api/controllers:WechatController"],
-        beego.ControllerComments{
-            Method: "GetWxSign",
-            Router: "/getWxSign",
-            AllowHTTPMethods: []string{"get"},
-            MethodParams: param.Make(),
-            Filters: nil,
-            Params: nil})
-
-}