Property | Type | Description | |
---|---|---|---|
AdminUserController | System | ||
ChangePermissions | System.Web.Mvc.JsonResult | ||
EidtUser | System.Web.Mvc.ActionResult | ||
EidtUser | System.Web.Mvc.JsonResult | ||
GetPermissions | System.Web.Mvc.JsonResult | ||
RedirectToAction | System.Web.Mvc.RedirectToRouteResult | ||
RedirectToAction | System.Web.Mvc.RedirectToRouteResult | ||
RedirectToActionPermanent | System.Web.Mvc.RedirectToRouteResult | ||
RedirectToActionPermanent | System.Web.Mvc.RedirectToRouteResult | ||
SetRoles | System.Web.Mvc.JsonResult |
Method | Description | |
---|---|---|
AdminUserController ( IUserService userService, IRoleService roleService, IAuthorizationService authorizationService ) : System | ||
ChangePermissions ( int roleId ) : System.Web.Mvc.ActionResult |
更改权限 页面
|
|
GetPermissions ( int roleId ) : System.Web.Mvc.JsonResult |
获取站点权限列表组装json
|
|
ManageRoles ( int pageIndex = 1, int pageSize = 5 ) : System.Web.Mvc.ActionResult |
角色管理
|
|
ManageUsers ( int pageIndex = 1, int pageSize = 5 ) : System.Web.Mvc.ActionResult |
用户管理
|
|
SetRoles ( long userId ) : System.Web.Mvc.ActionResult |
设置角色 页面
|
Method | Description | |
---|---|---|
AdminUserController ( Dummy d ) : System | ||
ChangePermissions ( ) : System.Web.Mvc.JsonResult | ||
EidtUser ( long userId ) : System.Web.Mvc.ActionResult | ||
EidtUser ( ) : System.Web.Mvc.JsonResult | ||
GetPermissions ( ) : System.Web.Mvc.JsonResult | ||
RedirectToAction ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult | ||
RedirectToAction ( Task |
||
RedirectToActionPermanent ( System.Web.Mvc.ActionResult result ) : System.Web.Mvc.RedirectToRouteResult | ||
RedirectToActionPermanent ( Task |
||
SetRoles ( ) : System.Web.Mvc.JsonResult |
public AdminUserController ( IUserService userService, IRoleService roleService, IAuthorizationService authorizationService ) : System | ||
userService | IUserService | |
roleService | IRoleService | |
authorizationService | IAuthorizationService | |
return | System |
public ChangePermissions ( int roleId ) : System.Web.Mvc.ActionResult | ||
roleId | int | |
return | System.Web.Mvc.ActionResult |
public GetPermissions ( int roleId ) : System.Web.Mvc.JsonResult | ||
roleId | int | |
return | System.Web.Mvc.JsonResult |
public ManageRoles ( int pageIndex = 1, int pageSize = 5 ) : System.Web.Mvc.ActionResult | ||
pageIndex | int | 页码 |
pageSize | int | 每页数据数 |
return | System.Web.Mvc.ActionResult |
public ManageUsers ( int pageIndex = 1, int pageSize = 5 ) : System.Web.Mvc.ActionResult | ||
pageIndex | int | 页码 |
pageSize | int | 每页数据数 |
return | System.Web.Mvc.ActionResult |
public SetRoles ( long userId ) : System.Web.Mvc.ActionResult | ||
userId | long | |
return | System.Web.Mvc.ActionResult |