【修复】短信验证码
This commit is contained in:
@@ -87,6 +87,7 @@ public class SmsBaoUtil {
|
|||||||
return sendSms(phone, content);
|
return sendSms(phone, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取错误信息
|
* 获取错误信息
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -66,8 +66,8 @@ sa-token.is-log=false
|
|||||||
|
|
||||||
# 短信宝配置
|
# 短信宝配置
|
||||||
# 请前往 https://www.smsbao.com/ 注册账号并获取用户名和密码
|
# 请前往 https://www.smsbao.com/ 注册账号并获取用户名和密码
|
||||||
smsbao.username=your_username
|
smsbao.username=corewing
|
||||||
smsbao.password=your_password
|
smsbao.password=755dc3ac40c94d319cf6e314f24dc659
|
||||||
|
|
||||||
# 邮件配置
|
# 邮件配置
|
||||||
# SMTP 服务器地址
|
# SMTP 服务器地址
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ email.footer.notice=这是一封自动发送的邮件,请不要直接回复
|
|||||||
email.footer.copyright=© 2025 CoreWing · 保留所有权利
|
email.footer.copyright=© 2025 CoreWing · 保留所有权利
|
||||||
|
|
||||||
# ==================== 短信模板 ====================
|
# ==================== 短信模板 ====================
|
||||||
sms.verify.code.template=【CoreWing】您的验证码是{0},5分钟内有效。请勿泄露给他人!
|
sms.verify.code.template=【珠海市酷翼科技】您的验证码是%s。如非本人操作,请忽略本短信!
|
||||||
sms.result.success=发送成功
|
sms.result.success=发送成功
|
||||||
sms.result.password.error=密码错误
|
sms.result.password.error=密码错误
|
||||||
sms.result.account.not.exist=账号不存在
|
sms.result.account.not.exist=账号不存在
|
||||||
|
|||||||
Reference in New Issue
Block a user