瀏覽代碼

batch get video feature

丁云鹏 1 年之前
父節點
當前提交
a6d0463f45

+ 1 - 1
recommend-feature-client/src/main/java/com/tzld/piaoquan/recommend/feature/client/FeatureClient.java

@@ -52,7 +52,7 @@ public class FeatureClient {
     }
     }
 
 
     public List<VideoFeatureProto> getAllVideoFeature(List<Long> videoIds) {
     public List<VideoFeatureProto> getAllVideoFeature(List<Long> videoIds) {
-        GetAllVideoFeatureRequest.Builder buildr = GetAllVideoFeatureRequest.newBuilder()
+        GetAllVideoFeatureRequest.Builder buildr = GetAllVideoFeatureRequest.newBuilder();
         for (Long videoId : videoIds) {
         for (Long videoId : videoIds) {
             buildr.addVideoId(videoId + "");
             buildr.addVideoId(videoId + "");
         }
         }