修改文件名称,添加push内容体字段

This commit is contained in:
liujing
2021-10-29 16:51:37 +08:00
parent 847e4bb926
commit 62f6609eaf
11 changed files with 35 additions and 28 deletions

View File

@@ -18,5 +18,4 @@ data class NoticeNormalDetailData(
var videoUrl: String = "", //视频地址
var fileType: Int = 0, // 1图片2视频
val tts: String = "", //语音播报词
)

View File

@@ -7,7 +7,7 @@ import java.io.Serializable;
* @description 交通事故任务详情数据bean
* @since: 10/26/21
*/
public class NoticeTrafficInfo implements Serializable {
public class NoticeTrafficStyleInfo implements Serializable {
private String infoId;//事故id
private String poiType;//事故类型
private long dataCreateTime;//事故发生时间

View File

@@ -5,10 +5,11 @@ package com.mogo.eagle.core.data.notice;
* @description 交警任务公告推送消息体
* @since: 10/28/21
*/
public class NoticePushData {
public class NoticeTrafficStylePushData {
private String msg;
private String infoId;
private String imageUrl;
private String poiImgUrl;
private String title;
private String isVideo;
private String content;
@@ -28,12 +29,20 @@ public class NoticePushData {
this.infoId = infoId;
}
public String getImageUrl() {
return imageUrl;
public String getTitle() {
return title;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
public void setTitle(String title) {
this.title = title;
}
public String getPoiImgUrl() {
return poiImgUrl;
}
public void setPoiImgUrl(String poiImgUrl) {
this.poiImgUrl = poiImgUrl;
}
public String getIsVideo() {
@@ -57,7 +66,7 @@ public class NoticePushData {
return "NoticePushData{" +
"msg='" + msg + '\'' +
", infoId='" + infoId + '\'' +
", imageUrl='" + imageUrl + '\'' +
", imageUrl='" + poiImgUrl + '\'' +
", isVideo='" + isVideo + '\'' +
", content='" + content + '\'' +
'}';