|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.github.sd4324530.fastweixin.api.BaseAPI
com.github.sd4324530.fastweixin.api.CustomAPI
public class CustomAPI
客服相关API
| 字段摘要 |
|---|
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的字段 |
|---|
BASE_API_URL, config |
| 构造方法摘要 | |
|---|---|
CustomAPI(ApiConfig config)
|
|
| 方法摘要 | |
|---|---|
ResultType |
addCustomAccount(CustomAccount customAccount)
添加客服帐号 |
ResultType |
deleteCustomAccount(String accountName)
删除客服帐号 |
GetCustomAccountsResponse |
getCustomAccountList()
获取所有客服帐号信息 |
ResultType |
sendCustomMessage(String openid,
BaseMsg message)
发布客服消息 |
ResultType |
updateCustomAccount(CustomAccount customAccount)
修改客服帐号信息 |
ResultType |
uploadHeadImg(String accountName,
File file)
设置客服帐号头像 |
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的方法 |
|---|
executeGet, executePost, executePost, isSuccess |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public CustomAPI(ApiConfig config)
| 方法详细信息 |
|---|
public ResultType sendCustomMessage(String openid,
BaseMsg message)
openid - 关注者IDmessage - 消息对象,支持各种消息类型
public ResultType addCustomAccount(CustomAccount customAccount)
customAccount - 客服对象
public ResultType updateCustomAccount(CustomAccount customAccount)
customAccount - 客服帐号信息
public ResultType deleteCustomAccount(String accountName)
accountName - 客服帐号名
public ResultType uploadHeadImg(String accountName,
File file)
accountName - 客服帐号名file - 头像文件
public GetCustomAccountsResponse getCustomAccountList()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||