fix: add downloadUrl for app checkVersion

main
wangqing 9 months ago
parent 41c2a000db
commit 264a3ed3d5

@ -30,4 +30,10 @@ public class AppUpdateDTO{
*/
@ApiModelProperty(value = "强制更新")
private Boolean forceUpdate;
/**
* url
*/
@ApiModelProperty(value = "下载url")
private String url;
}

@ -44,6 +44,11 @@ public class AppUpdate implements Serializable {
*/
private Boolean forceUpdate;
/**
* url
*/
private String url;
/**
*
*/
@ -139,6 +144,15 @@ public class AppUpdate implements Serializable {
return this.grayscaleDevice;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
@Override
public String toString() {
return "自增ID:" + (id == null ? "空" : id) + ",版本号:" + (version == null ? "空" : version) + ",更新描述:" + (updateDesc == null ? "空" : updateDesc) + ",强制更新:" + (forceUpdate == null ? "空" : forceUpdate) + ",创建时间:" + (createTime == null ? "空" : DateUtil.format(createTime, DateTimePatternEnum.YYYY_MM_DD_HH_MM_SS.getPattern())) + "0:未发布 1:灰度发布 2:全网发布:" + (status == null ? "空" : status) + "灰度设备ID:" + (grayscaleDevice == null ? "空" : grayscaleDevice);

Loading…
Cancel
Save