1.UI修改:各种小细节 2.联系人列表显示赛事消息预览 3.去掉暗号检测

This commit is contained in:
huangjian
2021-04-08 18:49:08 +08:00
parent 5677e957c7
commit 06a742d4f3
28 changed files with 678 additions and 779 deletions

View File

@@ -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;
}
}