public class WxMpSubscribeMsgServiceImpl extends Object implements WxMpSubscribeMsgService
| 构造器和说明 | 
|---|
| WxMpSubscribeMsgServiceImpl() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| boolean | sendSubscribeMessage(WxMpSubscribeMessage message)
 发送一次性订阅消息
 详情请见: https://mp.weixin.qq.com/wiki? | 
| String | subscribeMsgAuthorizationUrl(String redirectURI,
                            int scene,
                            String reserved)
 构造用户订阅一条模板消息授权的url连接
 详情请见: https://mp.weixin.qq.com/wiki? | 
public String subscribeMsgAuthorizationUrl(String redirectURI, int scene, String reserved)
WxMpSubscribeMsgService构造用户订阅一条模板消息授权的url连接 详情请见: https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1500374289_66bvB
subscribeMsgAuthorizationUrl 在接口中 WxMpSubscribeMsgServiceredirectURI - 用户授权完成后的重定向链接,无需urlencode, 方法内会进行encodescene - 重定向后会带上scene参数,开发者可以填0-10000的整形值,用来标识订阅场景值reserved - 用于保持请求和回调的状态,授权请后原样带回给第三方 (最多128字节,要求做urlencode)public boolean sendSubscribeMessage(WxMpSubscribeMessage message) throws WxErrorException
WxMpSubscribeMsgService发送一次性订阅消息 详情请见: https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1500374289_66bvB
sendSubscribeMessage 在接口中 WxMpSubscribeMsgServiceWxErrorExceptionCopyright © 2019. All rights reserved.