1 Star 1 Fork 191

simman / hm-tools-wxmp-adapter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ICustomerServiceApi.java 2.50 KB
一键复制 编辑 原始数据 按行查看 历史
JHybo 提交于 2019-08-25 19:21 . 客服接口-客服输入状态
package top.hmtools.wxmp.message.customerService.apis;
import top.hmtools.wxmp.core.annotation.WxmpApi;
import top.hmtools.wxmp.core.annotation.WxmpMapper;
import top.hmtools.wxmp.core.enums.HttpMethods;
import top.hmtools.wxmp.core.enums.HttpParamType;
import top.hmtools.wxmp.core.model.ErrcodeBean;
import top.hmtools.wxmp.message.customerService.model.BaseSendMessageParam;
import top.hmtools.wxmp.message.customerService.model.KfAccountListResult;
import top.hmtools.wxmp.message.customerService.model.KfAccountParam;
import top.hmtools.wxmp.message.customerService.model.TypingStatusParam;
import top.hmtools.wxmp.message.customerService.model.UploadHeadImgParam;
@WxmpMapper
public interface ICustomerServiceApi {
/**
* 添加客服帐号
* @param kfAccountParam
* @return
*/
@WxmpApi(httpMethods=HttpMethods.POST,uri="/customservice/kfaccount/add")
public ErrcodeBean addKfAcount(KfAccountParam kfAccountParam);
/**
* 修改客服账号
* @param kfAccountParam
* @return
*/
@WxmpApi(httpMethods=HttpMethods.POST,uri="/customservice/kfaccount/update")
public ErrcodeBean updateKfAcount(KfAccountParam kfAccountParam);
/**
* 删除客服帐号
* @param kfAccountParam
* @return
*/
@WxmpApi(httpMethods=HttpMethods.POST,uri="/customservice/kfaccount/del")
public ErrcodeBean deleteKfAcount(KfAccountParam kfAccountParam);
/**
* 设置客服帐号的头像
* @param uploadHeadImgParam
* @return
*/
@WxmpApi(httpMethods=HttpMethods.POST,uri="/customservice/kfaccount/uploadheadimg",httpParamType=HttpParamType.FORM_DATA)
public ErrcodeBean uploadHeadImg(UploadHeadImgParam uploadHeadImgParam);
/**
* 获取所有客服账号
* <br>开发者通过本接口,获取公众号中所设置的客服基本信息,包括客服工号、客服昵称、客服登录账号。
* @return
*/
@WxmpApi(httpMethods=HttpMethods.GET,uri="/cgi-bin/customservice/getkflist")
public KfAccountListResult getKfList();
/**
* 发送消息
* @return
*/
@WxmpApi(httpMethods=HttpMethods.POST,uri="/cgi-bin/message/custom/send")
public ErrcodeBean sendMessage(BaseSendMessageParam baseSendMessageParam);
/**
* 客服输入状态
* @param typingStatusParam
* @return
*/
@WxmpApi(httpMethods=HttpMethods.POST,uri="/cgi-bin/message/custom/typing")
public ErrcodeBean typingStatus(TypingStatusParam typingStatusParam);
}
Java
1
https://gitee.com/lengan/hm-tools-wxmp-adapter.git
git@gitee.com:lengan/hm-tools-wxmp-adapter.git
lengan
hm-tools-wxmp-adapter
hm-tools-wxmp-adapter
master

搜索帮助