public class WxMaMsgServiceImpl extends Object implements WxMaMsgService
KEFU_MESSAGE_SEND_URL, SUBSCRIBE_MSG_SEND_URL, TEMPLATE_MSG_SEND_URL, UNIFORM_MSG_SEND_URL| 构造器和说明 | 
|---|
| WxMaMsgServiceImpl() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| boolean | sendKefuMsg(WxMaKefuMessage message)
 发送客服消息
 详情请见: 发送客服消息
 接口url格式:https://api.weixin.qq.com/cgi-bin/message/custom/send? | 
| void | sendSubscribeMsg(WxMaSubscribeMessage subscribeMessage)
 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html
 
 发送订阅消息 | 
| void | sendTemplateMsg(WxMaTemplateMessage templateMessage)
 小程序模板消息接口将于2020年1月10日下线,开发者可使用订阅消息功能
  | 
| void | sendUniformMsg(WxMaUniformMessage uniformMessage)
 下发小程序和公众号统一的服务消息
 详情请见: 下发小程序和公众号统一的服务消息
 接口url格式:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send? | 
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
小程序模板消息接口将于2020年1月10日下线,开发者可使用订阅消息功能
sendTemplateMsg 在接口中 WxMaMsgServiceWxErrorExceptionpublic void sendSubscribeMsg(WxMaSubscribeMessage subscribeMessage) throws WxErrorException
WxMaMsgServicehttps://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html发送订阅消息
sendSubscribeMsg 在接口中 WxMaMsgServiceWxErrorExceptionpublic void sendUniformMsg(WxMaUniformMessage uniformMessage) throws WxErrorException
WxMaMsgService下发小程序和公众号统一的服务消息 详情请见: 下发小程序和公众号统一的服务消息 接口url格式:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=ACCESS_TOKEN
sendUniformMsg 在接口中 WxMaMsgServiceWxErrorExceptionCopyright © 2019. All rights reserved.