public class WxMaMsgServiceImpl extends Object implements WxMaMsgService
KEFU_MESSAGE_SEND_URL, TEMPLATE_MSG_SEND_URL| 构造器和说明 |
|---|
WxMaMsgServiceImpl(WxMaService wxMaService) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
sendKefuMsg(WxMaKefuMessage message)
发送客服消息
详情请见: 发送客服消息
接口url格式:https://api.weixin.qq.com/cgi-bin/message/custom/send?
|
void |
sendTemplateMsg(WxMaTemplateMessage templateMessage)
发送模板消息
详情请见: 发送模板消息
接口url格式:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?
|
public WxMaMsgServiceImpl(WxMaService wxMaService)
public boolean sendKefuMsg(WxMaKefuMessage message) throws WxErrorException
WxMaMsgService发送客服消息 详情请见: 发送客服消息 接口url格式:https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
sendKefuMsg 在接口中 WxMaMsgServiceWxErrorExceptionpublic void sendTemplateMsg(WxMaTemplateMessage templateMessage) throws WxErrorException
WxMaMsgService发送模板消息 详情请见: 发送模板消息 接口url格式:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=ACCESS_TOKEN
sendTemplateMsg 在接口中 WxMaMsgServiceWxErrorExceptionCopyright © 2018. All rights reserved.