微信公众号开发java框架:wx4j(KefuUtils篇)

 wx4j-KefuUtils介绍

 

函数说明:添加客服

参数:Kefu对象

返回值:微信服务器响应的json字符串

public String addKefu(Kefu kefu)

 

函数说明:

参数:KefuInvite对象

返回值:微信服务器响应的json字符串

public String inviteWorker(KefuInvite info)

 

函数说明:删除客服

参数:客服账号

返回值:微信服务器响应的json字符串

public String deleteKefu(String kefuAccount)

 

函数说明:更新客服信息

参数:新的Kefu对象

返回值:微信服务器响应的json字符串

public String updateKefu(Kefu kefu)

 

函数说明:更新客服头像

参数:客服账号,头像图片路径

返回值:微信服务器响应的json字符串

public String uploadKefuHeadImg(String kefuAccount, String headImgPath)

 

函数说明:获得在线客服列表

返回值:微信服务器响应的json字符串

public String getOnlineKefuList()

 

函数说明:获得所有客服列表

返回值:微信服务器响应的json字符串

public String getKefuList()

 

posted @ 2017-03-25 18:46  周睿  阅读(971)  评论(0编辑  收藏  举报