public ResponseResult SaveRoleResourceList(List <RoleResourceEntity> entityList) { var result = ResponseResult.Default(); try { var resourceService = new ResourceDataService(); resourceService.SaveRoleResourceList(entityList); result = ResponseResult.Success(); } catch (System.Exception ex) { result = ResponseResult.Error(string.Format("保存角色资源授权数据失败!{0}", ex.Message)); } return(result); }