ソースを参照

fix

release_toaliyun_real
winter 5ヶ月前
コミット
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")) {


読み込み中…
キャンセル
保存