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