基线备份: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:
162
libdata/src/main/java/com/migu/bean/UpApkBean.java
Executable file
162
libdata/src/main/java/com/migu/bean/UpApkBean.java
Executable file
@@ -0,0 +1,162 @@
|
||||
package com.migu.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class UpApkBean {
|
||||
|
||||
/**
|
||||
* retCode : 00000000
|
||||
* retMsg : {"listInfo":[{"upgradePattern":0,"packageType":0,"versionSeq":"111","urgentStatus":1,"packageLocation":"http://ip:port/apk/2025/04/09/test.apk","md5":"7BBB8DD1CFC976109B95EE4137EDA899","versionName":"test.apk","upgradeSeq":"V4.4.4.444","type":1,"packageStatus":2}],"count":1}
|
||||
*/
|
||||
|
||||
private String retCode;
|
||||
private RetMsgBean retMsg;
|
||||
|
||||
public String getRetCode() {
|
||||
return retCode;
|
||||
}
|
||||
|
||||
public void setRetCode(String retCode) {
|
||||
this.retCode = retCode;
|
||||
}
|
||||
|
||||
public RetMsgBean getRetMsg() {
|
||||
return retMsg;
|
||||
}
|
||||
|
||||
public void setRetMsg(RetMsgBean retMsg) {
|
||||
this.retMsg = retMsg;
|
||||
}
|
||||
|
||||
public static class RetMsgBean {
|
||||
/**
|
||||
* listInfo : [{"upgradePattern":0,"packageType":0,"versionSeq":"111","urgentStatus":1,"packageLocation":"http://ip:port/apk/2025/04/09/test.apk","md5":"7BBB8DD1CFC976109B95EE4137EDA899","versionName":"test.apk","upgradeSeq":"V4.4.4.444","type":1,"packageStatus":2}]
|
||||
* count : 1
|
||||
*/
|
||||
|
||||
private int count;
|
||||
private List<ListInfoBean> listInfo;
|
||||
|
||||
public int getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(int count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public List<ListInfoBean> getListInfo() {
|
||||
return listInfo;
|
||||
}
|
||||
|
||||
public void setListInfo(List<ListInfoBean> listInfo) {
|
||||
this.listInfo = listInfo;
|
||||
}
|
||||
|
||||
public static class ListInfoBean {
|
||||
/**
|
||||
* upgradePattern : 0
|
||||
* packageType : 0
|
||||
* versionSeq : 111
|
||||
* urgentStatus : 1
|
||||
* packageLocation : http://ip:port/apk/2025/04/09/test.apk
|
||||
* md5 : 7BBB8DD1CFC976109B95EE4137EDA899
|
||||
* versionName : test.apk
|
||||
* upgradeSeq : V4.4.4.444
|
||||
* type : 1
|
||||
* packageStatus : 2
|
||||
*/
|
||||
|
||||
private int upgradePattern;
|
||||
private int packageType;
|
||||
private String versionSeq;
|
||||
private int urgentStatus;
|
||||
private String packageLocation;
|
||||
private String md5;
|
||||
private String versionName;
|
||||
private String upgradeSeq;
|
||||
private int type;
|
||||
private int packageStatus;
|
||||
|
||||
public int getUpgradePattern() {
|
||||
return upgradePattern;
|
||||
}
|
||||
|
||||
public void setUpgradePattern(int upgradePattern) {
|
||||
this.upgradePattern = upgradePattern;
|
||||
}
|
||||
|
||||
public int getPackageType() {
|
||||
return packageType;
|
||||
}
|
||||
|
||||
public void setPackageType(int packageType) {
|
||||
this.packageType = packageType;
|
||||
}
|
||||
|
||||
public String getVersionSeq() {
|
||||
return versionSeq;
|
||||
}
|
||||
|
||||
public void setVersionSeq(String versionSeq) {
|
||||
this.versionSeq = versionSeq;
|
||||
}
|
||||
|
||||
public int getUrgentStatus() {
|
||||
return urgentStatus;
|
||||
}
|
||||
|
||||
public void setUrgentStatus(int urgentStatus) {
|
||||
this.urgentStatus = urgentStatus;
|
||||
}
|
||||
|
||||
public String getPackageLocation() {
|
||||
return packageLocation;
|
||||
}
|
||||
|
||||
public void setPackageLocation(String packageLocation) {
|
||||
this.packageLocation = packageLocation;
|
||||
}
|
||||
|
||||
public String getMd5() {
|
||||
return md5;
|
||||
}
|
||||
|
||||
public void setMd5(String md5) {
|
||||
this.md5 = md5;
|
||||
}
|
||||
|
||||
public String getVersionName() {
|
||||
return versionName;
|
||||
}
|
||||
|
||||
public void setVersionName(String versionName) {
|
||||
this.versionName = versionName;
|
||||
}
|
||||
|
||||
public String getUpgradeSeq() {
|
||||
return upgradeSeq;
|
||||
}
|
||||
|
||||
public void setUpgradeSeq(String upgradeSeq) {
|
||||
this.upgradeSeq = upgradeSeq;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public int getPackageStatus() {
|
||||
return packageStatus;
|
||||
}
|
||||
|
||||
public void setPackageStatus(int packageStatus) {
|
||||
this.packageStatus = packageStatus;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user