public class CmccSmsServiceImpl extends Object implements SmsService
| Constructor and Description |
|---|
CmccSmsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId() |
String |
getExtCode() |
org.springframework.jdbc.core.JdbcTemplate |
getJdbcTemplate() |
String |
getMsgFmt() |
String |
getReqDeliveryReport() |
String |
getSendMethod() |
Boolean |
sendSms(String phoneNum,
String content) |
void |
setApplicationId(String applicationId) |
void |
setExtCode(String extCode) |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
void |
setMsgFmt(String msgFmt) |
void |
setReqDeliveryReport(String reqDeliveryReport) |
void |
setSendMethod(String sendMethod) |
public String getApplicationId()
public void setApplicationId(String applicationId)
public org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public String getExtCode()
public void setExtCode(String extCode)
public String getReqDeliveryReport()
public void setReqDeliveryReport(String reqDeliveryReport)
public String getMsgFmt()
public void setMsgFmt(String msgFmt)
public String getSendMethod()
public void setSendMethod(String sendMethod)
public Boolean sendSms(String phoneNum, String content) throws AppException
sendSms in interface SmsServicephoneNum - 手机号content - 内容AppExceptionCopyright © 2015–2023 cn.gtmap. All rights reserved.