public IActionResult DeleteRoleUsers(string id, string roleId) { _sysRoleService.DeleteUserRole(id, roleId, UserId); AjaxData.Success = true; AjaxData.Message = "删除成功"; return(Json(AjaxData)); }
public IActionResult OnGet(Guid id, Guid roleId) { _sysRoleService.DeleteUserRole(id, roleId, UserId); AjaxData.Code = 0; AjaxData.Message = "删除成功"; return(Json(AjaxData)); }