33333333333

This commit is contained in:
777
2025-02-22 20:25:41 +08:00
parent b965ff9f5a
commit eb4e33ad24
2 changed files with 7 additions and 1 deletions

View File

@@ -109,3 +109,8 @@ springdoc:
enabled: false enabled: false
knife4j: knife4j:
enable: false enable: false
duanxinbao:
sms:
content: 【APP】您的验证码是{code}。如非本人操作,请忽略本短信
username: username
password: password

View File

@@ -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;
} }