|
@@ -10,6 +10,7 @@ import lombok.NoArgsConstructor;
|
|
|
public class UserFeature {
|
|
|
|
|
|
private String uid = "0";
|
|
|
+ private String mid = "0";
|
|
|
// 当天统计量信息
|
|
|
private UserActionFeature day1_cnt_features;
|
|
|
// 3天内统计量
|
|
@@ -29,6 +30,13 @@ public class UserFeature {
|
|
|
this.uid = "0";
|
|
|
}
|
|
|
|
|
|
+ public void setMid(String key) {
|
|
|
+ this.uid = key;
|
|
|
+ if (key == null)
|
|
|
+ this.uid = "0";
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
public void setDay1_cnt_features(UserActionFeature key) {
|
|
|
this.day1_cnt_features = key;
|
|
@@ -75,7 +83,7 @@ public class UserFeature {
|
|
|
|
|
|
|
|
|
public String getKey() {
|
|
|
- return this.uid;
|
|
|
+ return this.mid;
|
|
|
}
|
|
|
|
|
|
public String getValue() {
|