This commit is contained in:
henry
2021-11-22 09:47:00 +08:00
parent 6f10d771ed
commit 5d3d6ac9f5
6 changed files with 43 additions and 11 deletions

View File

@ -134,7 +134,7 @@ func (this *Router) registerAPI() {
_api := new(api.Role)
roleV1.GET("/list", _api.List)
roleV1.POST("/add", _api.Add)
roleV1.POST("/menu", _api.Edit)
roleV1.POST("/edit", _api.Edit)
roleV1.POST("/delete", _api.Delete)
roleV1.POST("/menus", _api.Menu)
roleV1.POST("/menu/bind", _api.MenuBind)