基线备份:thirdparty 变体完成 + Android 4.2 兼容改造前
包含内容: - thirdparty flavor 独立 applicationId + Intent 入口(ThirdPartyEntryActivity) - 58 后端接口适配(单 /api 路径、code 0/200、camelCase 字段、UNBOUND 轮询) - MAC 硬件锚定校验(防一凭证多设备共用) - EPG mac 覆盖 SDK init(sMacOverride)+ ChannelManger 初始化对齐 - 提示文案优化(设备未注册/权益未绑定)
This commit is contained in:
232
libdata/src/main/java/com/migu/bean/GoldMainBean.java
Executable file
232
libdata/src/main/java/com/migu/bean/GoldMainBean.java
Executable file
@@ -0,0 +1,232 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user