|
|
|
@@ -106,6 +106,7 @@ public class AliyunSMS implements SMSExcutor { |
|
|
|
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); |
|
|
|
try { |
|
|
|
com.aliyun.dysmsapi20170525.models.CreateSmsTemplateResponse resp = client.createSmsTemplateWithOptions(createSmsTemplateRequest, runtime); |
|
|
|
log.info(">>>"+JSON.toJSONString(resp)); |
|
|
|
JSONObject respo = JSON.parseObject(JSON.toJSONString(resp)); |
|
|
|
String code = respo.getString("Code"); |
|
|
|
if (StringUtils.isNotBlank(code) && code.equalsIgnoreCase("ok")) { |
|
|
|
|