public class WxMaMsgServiceImpl extends Object implements WxMaMsgService
KEFU_MESSAGE_SEND_URL, TEMPLATE_MSG_SEND_URL| 构造器和说明 |
|---|
WxMaMsgServiceImpl(WxMaService wxMaService) |
| 限定符和类型 | 方法和说明 | ||
|---|---|---|---|
boolean |
sendKefuMsg(WxMaKefuMessage message)
发送客服消息
详情请见:
StringsendTemplateMsg(WxMaTemplateMessage templateMessage)
发送模板消息
详情请见: http://mp.weixin.qq.com/wiki?
|
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 String sendTemplateMsg(WxMaTemplateMessage templateMessage) throws WxErrorException
WxMaMsgService发送模板消息 详情请见: http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1433751277&token=&lang=zh_CN
sendTemplateMsg 在接口中 WxMaMsgServiceWxErrorExceptionCopyright © 2017. All rights reserved.