类 HuaweiBuilder
java.lang.Object
org.dromara.sms4j.huawei.utils.HuaweiBuilder
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringbuildRequestBody(String sender, String receiver, String templateId, String templateParas, String statusCallBack, String signature) buildRequestBodystatic StringbuildWsseHeader(String appKey, String appSecret) buildWsseHeaderprivate static StringdateFormat(Date date) static StringlistToString(List<String> list) (专用程序包) static void
-
构造器详细资料
-
HuaweiBuilder
private HuaweiBuilder()
-
-
方法详细资料
-
buildWsseHeader
buildWsseHeader构造X-WSSE参数值
-
trustAllHttpsCertificates
- 抛出:
Exception
-
buildRequestBody
public static String buildRequestBody(String sender, String receiver, String templateId, String templateParas, String statusCallBack, String signature) buildRequestBody构造请求Body体
- 参数:
sender- 国内短信签名通道号receiver- 短信接收者templateId- 短信模板idtemplateParas- 模板参数statusCallBack- 短信状态报告接收地signature- | 签名名称,使用国内短信通用模板时填写
-
listToString
-
dateFormat
-