@RefreshScope @ConfigurationProperties(prefix="sms.qcloud") public class QCloudProperties extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Map<String,List<String>> |
paramsOrders
参数顺序
|
protected Map<String,Integer> |
templates
短信模板
|
| 构造器和说明 |
|---|
QCloudProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAppId()
返回短信应用SDK AppID
|
String |
getAppkey()
返回短信应用SDK AppKey
|
List<String> |
getParamsOrder(String type)
返回参数顺序
|
Map<String,List<String>> |
getParamsOrders()
返回参数顺序
|
String |
getSmsSign()
返回短信签名
|
Map<String,Integer> |
getTemplates()
返回 短信模板
|
Integer |
getTemplates(String type)
获取短信模板
|
void |
setAppId(int appId)
设置短信应用SDK AppID
|
void |
setAppkey(String appkey)
设置短信应用SDK AppKey
|
void |
setParamsOrders(Map<String,List<String>> paramsOrders)
设置参数顺序
|
void |
setSmsSign(String smsSign)
设置短信签名
|
void |
setTemplates(Map<String,Integer> templates)
设置短信模板
|
public int getAppId()
public void setAppId(int appId)
appId - 短信应用SDK AppIDpublic String getAppkey()
public void setAppkey(String appkey)
appkey - 短信应用SDK AppKeypublic String getSmsSign()
public void setSmsSign(String smsSign)
smsSign - 短信签名public void setParamsOrders(Map<String,List<String>> paramsOrders)
paramsOrders - 参数顺序Copyright © 2019 guerlab. All rights reserved.