1.UI修改:各种小细节 2.联系人列表显示赛事消息预览 3.去掉暗号检测
This commit is contained in:
@@ -8,9 +8,9 @@ import com.alibaba.fastjson.JSONObject;
|
||||
*/
|
||||
|
||||
public class MatchAttachment extends CustomAttachment {
|
||||
public String content;
|
||||
public long matchId;
|
||||
public boolean isNeedForwardToMatchDetail;
|
||||
private String content;
|
||||
private String matchId;
|
||||
private boolean isNeedForwardToMatchDetail;
|
||||
|
||||
public MatchAttachment(int second) {
|
||||
super(CUSTOM_MSG_MATCH, second);
|
||||
@@ -24,7 +24,7 @@ public class MatchAttachment extends CustomAttachment {
|
||||
content = data.getString("content");
|
||||
}
|
||||
if (data.containsKey("matchId")) {
|
||||
matchId = data.getLongValue("matchId");
|
||||
matchId = data.getString("matchId");
|
||||
}
|
||||
if (data.containsKey("isNeedForwardToMatchDetail")) {
|
||||
isNeedForwardToMatchDetail = data.getBooleanValue("isNeedForwardToMatchDetail");
|
||||
@@ -40,4 +40,16 @@ public class MatchAttachment extends CustomAttachment {
|
||||
jsonObject.put("isNeedForwardToMatchDetail", isNeedForwardToMatchDetail);
|
||||
return jsonObject;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public String getMatchId() {
|
||||
return matchId;
|
||||
}
|
||||
|
||||
public boolean isNeedForwardToMatchDetail() {
|
||||
return isNeedForwardToMatchDetail;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user