... | ... | @@ -416,7 +416,7 @@ public class ChatMessage { |
|
|
private String questionUserId;
|
|
|
//发布问答的username
|
|
|
private String questionUserName;
|
|
|
//问答的时间
|
|
|
//问答的时间,相对时间,单位s
|
|
|
private String time;
|
|
|
//发布问答的头像
|
|
|
private String userAvatar;
|
... | ... | @@ -424,10 +424,14 @@ public class ChatMessage { |
|
|
private String groupId;
|
|
|
//是否是公开的
|
|
|
private int isPublish;
|
|
|
//绝对时间
|
|
|
private long millsTime = 0L;
|
|
|
//extra数据
|
|
|
private ExtraDTO extra;
|
|
|
}
|
|
|
```
|
|
|
|
|
|
返回的实体类属性如下
|
|
|
返回的实体类Answer属性如下
|
|
|
|
|
|
```java
|
|
|
public class Answer {
|
... | ... | @@ -439,7 +443,7 @@ public class ChatMessage { |
|
|
private String answerUserId;
|
|
|
//回答的用户名
|
|
|
private String answerUserName;
|
|
|
//收到的时间
|
|
|
//收到的时间,相对时间,单位s
|
|
|
private String receiveTime;
|
|
|
//是否公开
|
|
|
private int isPrivate;
|
... | ... | @@ -449,9 +453,39 @@ public class ChatMessage { |
|
|
private String userRole;
|
|
|
//分组id
|
|
|
private String groupId;
|
|
|
//绝对时间
|
|
|
private long millsTime;
|
|
|
//extra数据
|
|
|
private ExtraDTO extra;
|
|
|
}
|
|
|
```
|
|
|
|
|
|
ExtraDTO
|
|
|
|
|
|
```java
|
|
|
/**
|
|
|
* 图片数组
|
|
|
*/
|
|
|
private List<ImgDTO> img;
|
|
|
```
|
|
|
|
|
|
ImgDTO
|
|
|
|
|
|
```java
|
|
|
/**
|
|
|
* 图片排序编号
|
|
|
*/
|
|
|
private int order;
|
|
|
/**
|
|
|
* 图片链接地址
|
|
|
*/
|
|
|
private String url;
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 2.3 签到功能
|
|
|
|
|
|
签到时主动调用的方法在DWLive类,相关方法如下:
|
... | ... | |