|
@@ -104,7 +104,7 @@ public class SmsUtil {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("apikey", "N11727b332");// api接口账号
|
|
map.put("apikey", "N11727b332");// api接口账号
|
|
|
map.put("secret", "1172799e3242ebe1");// api接口秘钥
|
|
map.put("secret", "1172799e3242ebe1");// api接口秘钥
|
|
|
- map.put("sign_id", "101760");// 签名id
|
|
|
|
|
|
|
+ map.put("sign_id", "190563");// 签名id
|
|
|
map.put("mobile", phones);// 手机号
|
|
map.put("mobile", phones);// 手机号
|
|
|
map.put("content", content);// 短信内容
|
|
map.put("content", content);// 短信内容
|
|
|
String json = JSON.toJSONString(map);
|
|
String json = JSON.toJSONString(map);
|
|
@@ -130,7 +130,7 @@ public class SmsUtil {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("apikey", "N11727b332");// api接口账号
|
|
map.put("apikey", "N11727b332");// api接口账号
|
|
|
map.put("secret", "1172799e3242ebe1");// api接口秘钥
|
|
map.put("secret", "1172799e3242ebe1");// api接口秘钥
|
|
|
- map.put("sign_id", 101760);// 签名id
|
|
|
|
|
|
|
+ map.put("sign_id", 190563);// 签名id
|
|
|
map.put("template_id", templateId);// 模板id
|
|
map.put("template_id", templateId);// 模板id
|
|
|
map.put("mobile", phones);// 手机号
|
|
map.put("mobile", phones);// 手机号
|
|
|
map.put("content", content);// 短信内容
|
|
map.put("content", content);// 短信内容
|