判断资源为图片还是视频 字段添加
This commit is contained in:
@@ -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 + '\'' +
|
||||
'}';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user