按照最新微信官方文档对客服会话控制接口进行修正

This commit is contained in:
BinaryWang
2016-07-12 18:35:42 +08:00
parent 3534234d91
commit 78f44b2bb0
2 changed files with 23 additions and 8 deletions

View File

@@ -18,11 +18,19 @@ public class WxMpKfSession {
private String kfAccount;
/**
* createtime 会话接入的时间 或者 来访时间UNIX时间戳
* createtime 会话接入的时间UNIX时间戳
* 该返回值 存在于 获取客服会话列表接口
*/
@SerializedName("createtime")
private long createTime;
/**
* latest_time 粉丝的最后一条消息的时间UNIX时间戳
* 该返回值 存在于 获取未接入会话列表接口
*/
@SerializedName("latest_time")
private long latestTime;
/**
* openid 客户openid
*/
@@ -58,4 +66,11 @@ public class WxMpKfSession {
this.openid = openid;
}
public long getLatestTime() {
return this.latestTime;
}
public void setLatestTime(long latestTime) {
this.latestTime = latestTime;
}
}