Init
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user