类 EmayBuilder

java.lang.Object
org.dromara.sms4j.emay.util.EmayBuilder

public class EmayBuilder extends Object
版本:
1.0
作者:
Richard
  • 构造器详细资料

    • EmayBuilder

      public EmayBuilder()
  • 方法详细资料

    • buildRequestBody

      public static Map<String,Object> buildRequestBody(String appId, String secretKey, String phone, String message) throws org.dromara.sms4j.comm.exception.SmsBlendException
      抛出:
      org.dromara.sms4j.comm.exception.SmsBlendException
    • buildRequestBody

      public static Map<String,Object> buildRequestBody(String appId, String secretKey, String phone, String message, String customSmsId) throws org.dromara.sms4j.comm.exception.SmsBlendException
      参数:
      appId - 用户Appid(必填)
      secretKey - 加密key
      phone -
      message -
      customSmsId - 自定义消息ID(选填) 最长64位
      返回:
      抛出:
      org.dromara.sms4j.comm.exception.SmsBlendException
    • getParamsMap

      private static Map<String,Object> getParamsMap(String appId, String secretKey, String phone, String message)
    • listToString

      public static String listToString(List<String> list)