用户注册新增手机号验证码

master
袁子龙 2024-08-22 15:28:07 +08:00
parent 6c8e02a17e
commit c8bbdbd979
2 changed files with 1 additions and 2 deletions

View File

@ -188,7 +188,7 @@ public class SysLoginService {
redisTemplate.opsForValue().set(phonenumber,phonenumber,1,TimeUnit.DAYS); redisTemplate.opsForValue().set(phonenumber,phonenumber,1,TimeUnit.DAYS);
TelSmsUtils.sendSms(phonenumber, new HashMap<String, String>() {{ TelSmsUtils.sendSms(phonenumber, new HashMap<String, String>() {{
put("实训12A项目注册验证码","你正在注册四组服务,您的验证码是"+s); put("实训12A项目注册验证码","你正在注册四组服务,您的验证码是:{}"+s);
}}); }});

View File

@ -18,7 +18,6 @@ public class CloudSystemApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(CloudSystemApplication.class, args); SpringApplication.run(CloudSystemApplication.class, args);
} }