...
|
...
|
@@ -17,9 +17,9 @@ func init() { |
|
|
beego.NSRouter("/department", &controllers.CompanyController{}, "delete:DepartmentDelete"),
|
|
|
),
|
|
|
beego.NSNamespace("/rbac",
|
|
|
beego.NSRouter("/role", &controllers.CompanyController{}, "post:RoleAdd"),
|
|
|
beego.NSRouter("/role", &controllers.CompanyController{}, "put:RoleUpdate"),
|
|
|
beego.NSRouter("/role", &controllers.CompanyController{}, "delete:RoleDelete"),
|
|
|
beego.NSRouter("/role", &controllers.RbacController{}, "post:RoleAdd"),
|
|
|
beego.NSRouter("/role", &controllers.RbacController{}, "put:RoleUpdate"),
|
|
|
beego.NSRouter("/role", &controllers.RbacController{}, "delete:RoleDelete"),
|
|
|
),
|
|
|
)
|
|
|
|
...
|
...
|
|