public class RYHXSMSSendServiceImpl extends Object implements SMSSendService
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.commons.logging.Log |
log |
| 构造器和说明 |
|---|
RYHXSMSSendServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAccount() |
String |
getAction() |
String |
getPassword() |
static String |
getResponseContent(org.apache.http.HttpEntity responseEntity) |
String |
getUrl() |
String |
sendSMS(String mobile,
String content)
直接写好发送内容
|
String |
sendSMSByParams(Map<String,Object> params)
直接写好发送内容
|
String |
sendSMSByTemplate(String mobile,
String template,
String[] params)
通过模板发送短信
|
String |
sendSMSByTemplateByMore(String mobile,
String template,
Map params)
通过模板发送多种参数的短信内容
|
void |
setAccount(String account) |
void |
setAction(String action) |
void |
setPassword(String password) |
void |
setUrl(String url) |
public String sendSMS(String mobile, String content)
SMSSendServicesendSMS 在接口中 SMSSendServicepublic String sendSMSByParams(Map<String,Object> params)
SMSSendServicesendSMSByParams 在接口中 SMSSendServicepublic String sendSMSByTemplate(String mobile, String template, String[] params)
SMSSendServicesendSMSByTemplate 在接口中 SMSSendServicepublic String sendSMSByTemplateByMore(String mobile, String template, Map params)
SMSSendServicesendSMSByTemplateByMore 在接口中 SMSSendServicepublic static String getResponseContent(org.apache.http.HttpEntity responseEntity) throws Exception
Exceptionpublic String getUrl()
public void setUrl(String url)
public String getAction()
public void setAction(String action)
public String getAccount()
public void setAccount(String account)
public String getPassword()
public void setPassword(String password)
Copyright © 2022. All rights reserved.