Explorar el Código

fix

release_toaliyun_real
winter hace 5 meses
padre
commit
0ac6d1511a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar