用户注册新增手机号验证码
parent
6c8e02a17e
commit
c8bbdbd979
|
@ -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);
|
||||||
}});
|
}});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue