判断资源为图片还是视频 字段添加

This commit is contained in:
liujing
2021-11-02 21:05:31 +08:00
parent fe4bcbe2d8
commit c0b4f95a32
5 changed files with 13 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ public class NoticeTrafficStylePushData {
private String infoId;
private String poiImgUrl;
private String title;
private boolean isVideo;
private int type;
private String content;
public String getMsg() {
@@ -46,12 +46,12 @@ public class NoticeTrafficStylePushData {
this.poiImgUrl = poiImgUrl;
}
public boolean getIsVideo() {
return isVideo;
public int getType() {
return type;
}
public void setIsVideo(boolean isVideo) {
this.isVideo = isVideo;
public void setType(int type) {
this.type = type;
}
public String getContent() {
@@ -69,7 +69,7 @@ public class NoticeTrafficStylePushData {
", infoId='" + infoId + '\'' +
", poiImgUrl='" + poiImgUrl + '\'' +
", title='" + title + '\'' +
", isVideo=" + isVideo +
", type=" + type +
", content='" + content + '\'' +
'}';
}