包含内容: - thirdparty flavor 独立 applicationId + Intent 入口(ThirdPartyEntryActivity) - 58 后端接口适配(单 /api 路径、code 0/200、camelCase 字段、UNBOUND 轮询) - MAC 硬件锚定校验(防一凭证多设备共用) - EPG mac 覆盖 SDK init(sMacOverride)+ ChannelManger 初始化对齐 - 提示文案优化(设备未注册/权益未绑定)
233 lines
7.3 KiB
Java
Executable File
233 lines
7.3 KiB
Java
Executable File
package com.migu.bean;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* create by xujiangyun at 2024/9/9
|
|
*/
|
|
|
|
public class GoldMainBean {
|
|
|
|
/**
|
|
* resultCode : 0
|
|
* message : 成功
|
|
* data : {"chinaGold":{"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2},"mainGolderList":[{"rank":1,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/AUS.png","countryName":"澳大利亚","goldNum":8,"silverNum":0,"bronzeNum":2,"totalMedalNum":10},{"rank":2,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/USA.png","countryName":"美国","goldNum":5,"silverNum":0,"bronzeNum":2,"totalMedalNum":7},{"rank":4,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/JPN.png","countryName":"日本","goldNum":2,"silverNum":2,"bronzeNum":1,"totalMedalNum":5},{"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2}]}
|
|
* timestamp : 1727078406031
|
|
*/
|
|
|
|
private int resultCode;
|
|
private String message;
|
|
private DataBean data;
|
|
private long timestamp;
|
|
|
|
public int getResultCode() {
|
|
return resultCode;
|
|
}
|
|
|
|
public void setResultCode(int resultCode) {
|
|
this.resultCode = resultCode;
|
|
}
|
|
|
|
public String getMessage() {
|
|
return message;
|
|
}
|
|
|
|
public void setMessage(String message) {
|
|
this.message = message;
|
|
}
|
|
|
|
public DataBean getData() {
|
|
return data;
|
|
}
|
|
|
|
public void setData(DataBean data) {
|
|
this.data = data;
|
|
}
|
|
|
|
public long getTimestamp() {
|
|
return timestamp;
|
|
}
|
|
|
|
public void setTimestamp(long timestamp) {
|
|
this.timestamp = timestamp;
|
|
}
|
|
|
|
public static class DataBean {
|
|
/**
|
|
* chinaGold : {"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2}
|
|
* mainGolderList : [{"rank":1,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/AUS.png","countryName":"澳大利亚","goldNum":8,"silverNum":0,"bronzeNum":2,"totalMedalNum":10},{"rank":2,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/USA.png","countryName":"美国","goldNum":5,"silverNum":0,"bronzeNum":2,"totalMedalNum":7},{"rank":4,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/JPN.png","countryName":"日本","goldNum":2,"silverNum":2,"bronzeNum":1,"totalMedalNum":5},{"rank":9,"countryLogo":"http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png","countryName":"中国","goldNum":10,"silverNum":10,"bronzeNum":0,"totalMedalNum":2}]
|
|
*/
|
|
|
|
private ChinaGoldBean chinaGold;
|
|
private List<MainGolderListBean> mainGolderList;
|
|
|
|
public ChinaGoldBean getChinaGold() {
|
|
return chinaGold;
|
|
}
|
|
|
|
public void setChinaGold(ChinaGoldBean chinaGold) {
|
|
this.chinaGold = chinaGold;
|
|
}
|
|
|
|
public List<MainGolderListBean> getMainGolderList() {
|
|
return mainGolderList;
|
|
}
|
|
|
|
public void setMainGolderList(List<MainGolderListBean> mainGolderList) {
|
|
this.mainGolderList = mainGolderList;
|
|
}
|
|
|
|
public static class ChinaGoldBean {
|
|
/**
|
|
* rank : 9
|
|
* countryLogo : http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/CHN.png
|
|
* countryName : 中国
|
|
* goldNum : 10
|
|
* silverNum : 10
|
|
* bronzeNum : 0
|
|
* totalMedalNum : 2
|
|
*/
|
|
|
|
private int rank;
|
|
private String countryLogo;
|
|
private String countryName;
|
|
private int goldNum;
|
|
private int silverNum;
|
|
private int bronzeNum;
|
|
private int totalMedalNum;
|
|
|
|
public int getRank() {
|
|
return rank;
|
|
}
|
|
|
|
public void setRank(int rank) {
|
|
this.rank = rank;
|
|
}
|
|
|
|
public String getCountryLogo() {
|
|
return countryLogo;
|
|
}
|
|
|
|
public void setCountryLogo(String countryLogo) {
|
|
this.countryLogo = countryLogo;
|
|
}
|
|
|
|
public String getCountryName() {
|
|
return countryName;
|
|
}
|
|
|
|
public void setCountryName(String countryName) {
|
|
this.countryName = countryName;
|
|
}
|
|
|
|
public int getGoldNum() {
|
|
return goldNum;
|
|
}
|
|
|
|
public void setGoldNum(int goldNum) {
|
|
this.goldNum = goldNum;
|
|
}
|
|
|
|
public int getSilverNum() {
|
|
return silverNum;
|
|
}
|
|
|
|
public void setSilverNum(int silverNum) {
|
|
this.silverNum = silverNum;
|
|
}
|
|
|
|
public int getBronzeNum() {
|
|
return bronzeNum;
|
|
}
|
|
|
|
public void setBronzeNum(int bronzeNum) {
|
|
this.bronzeNum = bronzeNum;
|
|
}
|
|
|
|
public int getTotalMedalNum() {
|
|
return totalMedalNum;
|
|
}
|
|
|
|
public void setTotalMedalNum(int totalMedalNum) {
|
|
this.totalMedalNum = totalMedalNum;
|
|
}
|
|
}
|
|
|
|
public static class MainGolderListBean {
|
|
/**
|
|
* rank : 1
|
|
* countryLogo : http://36.155.98.104:17160/ceshi/ceshi/asianGames/country/AUS.png
|
|
* countryName : 澳大利亚
|
|
* goldNum : 8
|
|
* silverNum : 0
|
|
* bronzeNum : 2
|
|
* totalMedalNum : 10
|
|
*/
|
|
|
|
private int rank;
|
|
private String countryLogo;
|
|
private String countryName;
|
|
private int goldNum;
|
|
private int silverNum;
|
|
private int bronzeNum;
|
|
private int totalMedalNum;
|
|
|
|
public int getRank() {
|
|
return rank;
|
|
}
|
|
|
|
public void setRank(int rank) {
|
|
this.rank = rank;
|
|
}
|
|
|
|
public String getCountryLogo() {
|
|
return countryLogo;
|
|
}
|
|
|
|
public void setCountryLogo(String countryLogo) {
|
|
this.countryLogo = countryLogo;
|
|
}
|
|
|
|
public String getCountryName() {
|
|
return countryName;
|
|
}
|
|
|
|
public void setCountryName(String countryName) {
|
|
this.countryName = countryName;
|
|
}
|
|
|
|
public int getGoldNum() {
|
|
return goldNum;
|
|
}
|
|
|
|
public void setGoldNum(int goldNum) {
|
|
this.goldNum = goldNum;
|
|
}
|
|
|
|
public int getSilverNum() {
|
|
return silverNum;
|
|
}
|
|
|
|
public void setSilverNum(int silverNum) {
|
|
this.silverNum = silverNum;
|
|
}
|
|
|
|
public int getBronzeNum() {
|
|
return bronzeNum;
|
|
}
|
|
|
|
public void setBronzeNum(int bronzeNum) {
|
|
this.bronzeNum = bronzeNum;
|
|
}
|
|
|
|
public int getTotalMedalNum() {
|
|
return totalMedalNum;
|
|
}
|
|
|
|
public void setTotalMedalNum(int totalMedalNum) {
|
|
this.totalMedalNum = totalMedalNum;
|
|
}
|
|
}
|
|
}
|
|
}
|