mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
按照最新微信官方文档对客服会话控制接口进行修正
This commit is contained in:
@@ -23,19 +23,10 @@ public class WxMpKfSessionRequest implements Serializable {
|
||||
*/
|
||||
@SerializedName("openid")
|
||||
private String openid;
|
||||
|
||||
/**
|
||||
* text 附加信息,文本会展示在客服人员的多客服客户端
|
||||
* 目前看起来无用,主要是老版的多客服客户端使用
|
||||
*/
|
||||
@SerializedName("text")
|
||||
@Deprecated
|
||||
private String text;
|
||||
|
||||
public WxMpKfSessionRequest(String kfAccount, String openid, String text) {
|
||||
|
||||
public WxMpKfSessionRequest(String kfAccount, String openid) {
|
||||
this.kfAccount = kfAccount;
|
||||
this.openid = openid;
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -55,12 +46,4 @@ public class WxMpKfSessionRequest implements Serializable {
|
||||
this.kfAccount = kfAccount;
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
return this.text;
|
||||
}
|
||||
|
||||
public void setText(String text) {
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user