소스 검색

feat:修改获取mid特征

zhaohaipeng 1 개월 전
부모
커밋
7e2b60b40d
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/FeatureService.java

+ 7 - 7
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/FeatureService.java

@@ -249,13 +249,13 @@ public class FeatureService {
 
 
         // 用户维度特征
-        protos.add(this.genWithKeyMap("mid_global_feature_20250212", mid, ImmutableMap.of("mid", mid)));
-        protos.add(this.genWithKeyMap("mid_u2u_friend_index_feature_20250212", mid, ImmutableMap.of("mid", mid)));
-        protos.add(this.genWithKeyMap("alg_mid_feature_return_tags", mid, ImmutableMap.of("mid", mid)));
-        protos.add(this.genWithKeyMap("alg_mid_feature_share_tags", mid, ImmutableMap.of("mid", mid)));
-        protos.add(this.genWithKeyMap("alg_mid_feature_sharecf", mid, ImmutableMap.of("mid", mid)));
-        protos.add(this.genWithKeyMap("alg_mid_feature_returncf", mid, ImmutableMap.of("mid", mid)));
-        protos.add(this.genWithKeyMap("alg_recsys_feature_user_share_return_stat", mid, ImmutableMap.of("mid", mid)));
+        protos.add(this.genWithMid("mid_global_feature_20250212", mid));
+        protos.add(this.genWithMid("mid_u2u_friend_index_feature_20250212", mid));
+        protos.add(this.genWithMid("alg_mid_feature_return_tags", mid));
+        protos.add(this.genWithMid("alg_mid_feature_share_tags", mid));
+        protos.add(this.genWithMid("alg_mid_feature_sharecf", mid));
+        protos.add(this.genWithMid("alg_mid_feature_returncf", mid));
+        protos.add(this.genWithMid("alg_recsys_feature_user_share_return_stat", mid));
 
         return this.getFeatureByProto(protos);
     }