VIVIMAN
2 years ago
4 changed files with 15 additions and 547 deletions
@ -1,163 +0,0 @@ |
|||||
package routers |
|
||||
|
|
||||
import ( |
|
||||
beego "github.com/beego/beego/v2/server/web" |
|
||||
"github.com/beego/beego/v2/server/web/context/param" |
|
||||
) |
|
||||
|
|
||||
func init() { |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetOne", |
|
||||
Router: "/:id", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/:id", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MemberController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/:id", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Get", |
|
||||
Router: "/:objectId", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/:objectId", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:ObjectController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/:objectId", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Get", |
|
||||
Router: "/:uid", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/:uid", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/:uid", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Login", |
|
||||
Router: "/login", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Logout", |
|
||||
Router: "/logout", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
} |
|
@ -1,370 +0,0 @@ |
|||||
package routers |
|
||||
|
|
||||
import ( |
|
||||
beego "github.com/beego/beego/v2/server/web" |
|
||||
"github.com/beego/beego/v2/server/web/context/param" |
|
||||
) |
|
||||
|
|
||||
func init() { |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DeptController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/:id", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:DictDetailController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/:id", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:JobController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Captcha", |
|
||||
Router: "/captcha", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Info", |
|
||||
Router: "/info", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Login", |
|
||||
Router: "/login", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:LoginController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Logout", |
|
||||
Router: "/logout", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Build", |
|
||||
Router: "/build", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:MenuController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetTree", |
|
||||
Router: "/tree", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetOne", |
|
||||
Router: "/:id", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:RoleController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Menu", |
|
||||
Router: "/menu", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:ToolsController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:ToolsController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "GetAll", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"get"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Post", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Put", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Delete", |
|
||||
Router: "/", |
|
||||
AllowHTTPMethods: []string{"delete"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Center", |
|
||||
Router: "/center", |
|
||||
AllowHTTPMethods: []string{"put"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Avatar", |
|
||||
Router: "/updateAvatar", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"] = append(beego.GlobalControllerRouter["yixiang.co/yshop/controllers/admin:UserController"], |
|
||||
beego.ControllerComments{ |
|
||||
Method: "Pass", |
|
||||
Router: "/updatePass", |
|
||||
AllowHTTPMethods: []string{"post"}, |
|
||||
MethodParams: param.Make(), |
|
||||
Filters: nil, |
|
||||
Params: nil}) |
|
||||
|
|
||||
} |
|
Loading…
Reference in new issue