|
@@ -85,6 +85,7 @@ public class FeatureRemoteService {
|
|
|
return convert(proto);
|
|
|
}
|
|
|
|
|
|
+ /*
|
|
|
public Map<Long, ItemFeature> getVideoFeatureMap(List<Long> videoIds) {
|
|
|
if (CollectionUtils.isEmpty(videoIds)) {
|
|
|
return Collections.emptyMap();
|
|
@@ -92,6 +93,7 @@ public class FeatureRemoteService {
|
|
|
List<VideoFeatureProto> protoList = client.getAllVideoFeature(videoIds);
|
|
|
return CommonCollectionUtils.toMap(protoList, p -> NumberUtils.toLong(p.getVideoId(), 0L), this::convert);
|
|
|
}
|
|
|
+ */
|
|
|
|
|
|
private ItemFeature convert(VideoFeatureProto proto) {
|
|
|
if (proto == null) {
|