类 NotificationUtils
java.lang.Object
com.iplatform.base.util.NotificationUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static final Object[]acquireMessagePushRules(String messageType) 解析推送普通消息配置的规则。static final NotificationConfigVoacquireNotificationConfigVo(SfTemplateMessage templateMessage) static final com.walker.push.NotificationacquireSmsNotification(String templateId, String userPhone, List<com.walker.infrastructure.arguments.Variable> variableList, String title) static final com.walker.push.NotificationacquireSmsNotification(String templateId, Map<String, String> param, String title, String targetUserId, String creator) static final com.walker.push.NotificationacquireSmsValidateCode(String templateId, String code, String targetUserId, String creator) 获取发送短信验证码通知static final com.walker.push.NotificationacquireWechatNotification(String accessToken, String templateId, String userOpenId, List<com.walker.infrastructure.arguments.Variable> variableList) 获得一个微信公众号提醒消息。
-
构造器详细资料
-
NotificationUtils
public NotificationUtils()
-
-
方法详细资料
-
acquireSmsNotification
-
acquireWechatNotification
public static final com.walker.push.Notification acquireWechatNotification(String accessToken, String templateId, String userOpenId, List<com.walker.infrastructure.arguments.Variable> variableList) 获得一个微信公众号提醒消息。- 参数:
accessToken- 基础 access_tokentemplateId- 公众号消息模板IDuserOpenId- 用户openId- 返回:
-
acquireNotificationConfigVo
public static final NotificationConfigVo acquireNotificationConfigVo(SfTemplateMessage templateMessage) -
acquireMessagePushRules
解析推送普通消息配置的规则。详细参考:PushProperties.getMessageType()- 参数:
messageType-- 返回:
-
acquireSmsValidateCode
public static final com.walker.push.Notification acquireSmsValidateCode(String templateId, String code, String targetUserId, String creator) 获取发送短信验证码通知- 参数:
templateId- 模板IDcode- 验证码targetUserId- 目标用户IDcreator- 创建人ID- 返回:
-
acquireSmsNotification
-