Browse Source

feat:修改获取mid特征

zhaohaipeng 1 month ago
parent
commit
7e2b60b40d

+ 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);
     }