增加一下短信验证码在info级别的日志打印

This commit is contained in:
Chopper 2022-04-13 11:49:23 +08:00
parent 2720f5c0bb
commit d13b0404fb

View File

@ -122,7 +122,9 @@ public class SmsUtilAliImplService implements SmsUtil, AliSmsUtil {
//如果是测试模式 默认验证码 6个1
if (systemSettingProperties.getIsTestModel()) {
code = "111111";
log.info("测试模式 - 接收手机:{},验证码:{}",mobile,code);
} else {
log.info("接收手机:{},验证码:{}",mobile,code);
//发送短信
this.sendSmsCode(smsSetting.getSignName(), mobile, params, templateCode);
}