public interface WxMaMsgService
消息发送接口
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
KEFU_MESSAGE_SEND_URL |
static String |
TEMPLATE_MSG_SEND_URL |
| 限定符和类型 | 方法和说明 | ||
|---|---|---|---|
boolean |
sendKefuMsg(WxMaKefuMessage message)
发送客服消息
详情请见:
StringsendTemplateMsg(WxMaTemplateMessage templateMessage)
发送模板消息
详情请见: http://mp.weixin.qq.com/wiki?
|
boolean sendKefuMsg(WxMaKefuMessage message) throws WxErrorException
发送客服消息 详情请见: 发送客服消息 接口url格式:https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
WxErrorExceptionString sendTemplateMsg(WxMaTemplateMessage templateMessage) throws WxErrorException
发送模板消息 详情请见: http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1433751277&token=&lang=zh_CN
WxErrorExceptionCopyright © 2017. All rights reserved.