类 WeixinPublicPush
java.lang.Object
com.walker.push.AbstractPushObject<MessageTemplate>
com.walker.push.wx.WeixinPublicPush
- 所有已实现的接口:
com.walker.infrastructure.core.ApplicationBeanInitialized,com.walker.push.Pushable<MessageTemplate>
-
字段概要
字段从类继承的字段 com.walker.push.AbstractPushObject
logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected com.walker.push.PushResultdoPushContent(com.walker.push.Notification notification, List<MessageTemplate> data) com.walker.push.NotificationChannelvoidsetRestTemplate(org.springframework.web.client.RestTemplate restTemplate) voidstartup()translateToTarget(com.walker.push.Notification notification) 从类继承的方法 com.walker.push.AbstractPushObject
equals, getId, getName, getPushStatusListener, hashCode, push, setId, setName, setPushStatusListener, setSupportAsync, supportAsync
-
字段详细资料
-
WECHAT_PUBLIC_SEND_TEMPLATE_URL
公众号发送模板消息的url- 另请参阅:
-
-
构造器详细资料
-
WeixinPublicPush
public WeixinPublicPush()
-
-
方法详细资料
-
startup
public void startup() -
doPushContent
protected com.walker.push.PushResult doPushContent(com.walker.push.Notification notification, List<MessageTemplate> data) throws com.walker.push.PushException - 指定者:
doPushContent在类中com.walker.push.AbstractPushObject<MessageTemplate>- 抛出:
com.walker.push.PushException
-
getNotificationChannel
public com.walker.push.NotificationChannel getNotificationChannel() -
translateToTarget
-
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
-