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