用户添加全新啊

This commit is contained in:
苏尹岚
2020-09-28 10:34:19 +08:00
parent 547d323bcd
commit 58e6775125

View File

@@ -1453,7 +1453,7 @@ func init() {
beego.ControllerComments{ beego.ControllerComments{
Method: "GetMenu", Method: "GetMenu",
Router: `/GetMenu`, Router: `/GetMenu`,
AllowHTTPMethods: []string{"post"}, AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(), MethodParams: param.Make(),
Filters: nil, Filters: nil,
Params: nil}) Params: nil})
@@ -1471,7 +1471,7 @@ func init() {
beego.ControllerComments{ beego.ControllerComments{
Method: "GetUserRole", Method: "GetUserRole",
Router: `/GetUserRole`, Router: `/GetUserRole`,
AllowHTTPMethods: []string{"put"}, AllowHTTPMethods: []string{"get"},
MethodParams: param.Make(), MethodParams: param.Make(),
Filters: nil, Filters: nil,
Params: nil}) Params: nil})