瀏覽代碼

fix

release_toaliyun_real
winter 6 月之前
父節點
當前提交
0ac6d1511a
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      mallinkService/src/main/java/com/iformall/sms/aliyun/AliyunSMS.java

+ 1
- 0
mallinkService/src/main/java/com/iformall/sms/aliyun/AliyunSMS.java 查看文件

@@ -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")) {


Loading…
取消
儲存