From 254b4028eea5ac5699463dbfb13182add58caf83 Mon Sep 17 00:00:00 2001 From: VIVIMAN Date: Wed, 7 Dec 2022 15:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3Windows=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=A8=8B=E5=BA=8F=E6=8A=A5=E9=94=99=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/commentsRouter_controllers.go | 415 ++++++++++++++++++++++++++ 1 file changed, 415 insertions(+) create mode 100644 routers/commentsRouter_controllers.go diff --git a/routers/commentsRouter_controllers.go b/routers/commentsRouter_controllers.go new file mode 100644 index 0000000..1bcd714 --- /dev/null +++ b/routers/commentsRouter_controllers.go @@ -0,0 +1,415 @@ +package routers + +import ( + beego "github.com/beego/beego/v2/server/web" + "github.com/beego/beego/v2/server/web/context/param" +) + +func init() { + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"], + beego.ControllerComments{ + Method: "Put", + Router: "/", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DeptController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"], + beego.ControllerComments{ + Method: "Put", + Router: "/", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/:id", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"], + beego.ControllerComments{ + Method: "Put", + Router: "/", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:DictDetailController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/:id", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"], + beego.ControllerComments{ + Method: "Put", + Router: "/", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:JobController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"], + beego.ControllerComments{ + Method: "Captcha", + Router: "/captcha", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"], + beego.ControllerComments{ + Method: "Info", + Router: "/info", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"], + beego.ControllerComments{ + Method: "Login", + Router: "/login", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:LoginController"], + beego.ControllerComments{ + Method: "Logout", + Router: "/logout", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"], + beego.ControllerComments{ + Method: "Put", + Router: "/", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"], + beego.ControllerComments{ + Method: "Build", + Router: "/build", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:MenuController"], + beego.ControllerComments{ + Method: "GetTree", + Router: "/tree", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"], + beego.ControllerComments{ + Method: "GetOne", + Router: "/:id", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:RoleController"], + beego.ControllerComments{ + Method: "Menu", + Router: "/menu", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"], + beego.ControllerComments{ + Method: "Put", + Router: "/", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"], + beego.ControllerComments{ + Method: "Center", + Router: "/center", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"], + beego.ControllerComments{ + Method: "Avatar", + Router: "/updateAvatar", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/admin:UserController"], + beego.ControllerComments{ + Method: "Pass", + Router: "/updatePass", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"], + beego.ControllerComments{ + Method: "GetAll", + Router: "/", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"], + beego.ControllerComments{ + Method: "CpPost", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"], + beego.ControllerComments{ + Method: "Post", + Router: "/", + AllowHTTPMethods: []string{"post"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"], + beego.ControllerComments{ + Method: "Put", + Router: "/", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"], + beego.ControllerComments{ + Method: "Delete", + Router: "/", + AllowHTTPMethods: []string{"delete"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"], + beego.ControllerComments{ + Method: "GetOne", + Router: "/:id", + AllowHTTPMethods: []string{"get"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + + beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"] = append(beego.GlobalControllerRouter["viviman.top/controllers/vivib:LiCaiController"], + beego.ControllerComments{ + Method: "Menu", + Router: "/menu", + AllowHTTPMethods: []string{"put"}, + MethodParams: param.Make(), + Filters: nil, + Params: nil}) + +}