public class ChinaMobileSendHandler extends AbstractSendHandler<ChinaMobileProperties>
properties| 构造器和说明 |
|---|
ChinaMobileSendHandler(ChinaMobileProperties properties,
org.springframework.context.ApplicationEventPublisher eventPublisher,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
org.springframework.web.client.RestTemplate restTemplate)
创建实例.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getChannelName() |
boolean |
send(net.guerlab.sms.core.domain.NoticeData noticeData,
Collection<String> phones) |
acceptSend, publishSendFailEvent, publishSendSuccessEventpublic ChinaMobileSendHandler(ChinaMobileProperties properties, org.springframework.context.ApplicationEventPublisher eventPublisher, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.web.client.RestTemplate restTemplate)
properties - 移动云短信配置eventPublisher - ApplicationEventPublisherobjectMapper - ObjectMapperrestTemplate - RestTemplatepublic boolean send(net.guerlab.sms.core.domain.NoticeData noticeData,
Collection<String> phones)
public String getChannelName()
Copyright © 2022 guerlab. All rights reserved.