33333333333
This commit is contained in:
@@ -109,3 +109,8 @@ springdoc:
|
|||||||
enabled: false
|
enabled: false
|
||||||
knife4j:
|
knife4j:
|
||||||
enable: false
|
enable: false
|
||||||
|
duanxinbao:
|
||||||
|
sms:
|
||||||
|
content: 【APP】您的验证码是{code}。如非本人操作,请忽略本短信
|
||||||
|
username: username
|
||||||
|
password: password
|
||||||
|
|||||||
@@ -87,8 +87,9 @@ public class DuanXinBaoSmsKit {
|
|||||||
}
|
}
|
||||||
reader.close();
|
reader.close();
|
||||||
result = sbf.toString();
|
result = sbf.toString();
|
||||||
|
log.info("发送短信 http={}, result={}", httpUrl, result);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.info("短信发送失败",e);
|
log.error("短信发送失败",e);
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user