增加一下短信验证码在info级别的日志打印
This commit is contained in:
parent
2720f5c0bb
commit
d13b0404fb
@ -122,7 +122,9 @@ public class SmsUtilAliImplService implements SmsUtil, AliSmsUtil {
|
|||||||
//如果是测试模式 默认验证码 6个1
|
//如果是测试模式 默认验证码 6个1
|
||||||
if (systemSettingProperties.getIsTestModel()) {
|
if (systemSettingProperties.getIsTestModel()) {
|
||||||
code = "111111";
|
code = "111111";
|
||||||
|
log.info("测试模式 - 接收手机:{},验证码:{}",mobile,code);
|
||||||
} else {
|
} else {
|
||||||
|
log.info("接收手机:{},验证码:{}",mobile,code);
|
||||||
//发送短信
|
//发送短信
|
||||||
this.sendSmsCode(smsSetting.getSignName(), mobile, params, templateCode);
|
this.sendSmsCode(smsSetting.getSignName(), mobile, params, templateCode);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user