|
|
@ -79,6 +79,7 @@ public class SendSmsCodeController {
|
|
|
|
String msg="【我来啦】尊敬的用户,您的验证码为:"+radom+",2分钟有效";
|
|
|
|
String msg="【我来啦】尊敬的用户,您的验证码为:"+radom+",2分钟有效";
|
|
|
|
Map<String, Object> params = prepareParams(smsAccount.getAccount(), smsAccount.getPassword(), phoneNumber, msg, null, null,
|
|
|
|
Map<String, Object> params = prepareParams(smsAccount.getAccount(), smsAccount.getPassword(), phoneNumber, msg, null, null,
|
|
|
|
UUID.randomUUID().toString());
|
|
|
|
UUID.randomUUID().toString());
|
|
|
|
|
|
|
|
log.info("配置参数是33={}",JSON.toJSONString(smsAccount));
|
|
|
|
String rutlet=post(smsAccount.getUrl() + PATH_SEND_SMS, params);
|
|
|
|
String rutlet=post(smsAccount.getUrl() + PATH_SEND_SMS, params);
|
|
|
|
log.info("==="+rutlet);
|
|
|
|
log.info("==="+rutlet);
|
|
|
|
if(StringUtils.isBlank(rutlet)){
|
|
|
|
if(StringUtils.isBlank(rutlet)){
|
|
|
|