|
|
@ -35,7 +35,7 @@ public class SmsCodeUtils { |
|
|
|
code = RandomStringUtils.random(6, false, true); |
|
|
|
code = RandomStringUtils.random(6, false, true); |
|
|
|
} |
|
|
|
} |
|
|
|
redisTemplate.opsForValue().set(RedisConstant.getSmsHashKey(smsCountEnum.getKey(),phone),code,sendSmsgCode.getTimeout(), TimeUnit.MINUTES); |
|
|
|
redisTemplate.opsForValue().set(RedisConstant.getSmsHashKey(smsCountEnum.getKey(),phone),code,sendSmsgCode.getTimeout(), TimeUnit.MINUTES); |
|
|
|
sendSmsgCode.sendSmsg(phone,code,internationalCode,smsCountEnum.getTempleteId()); |
|
|
|
sendSmsgCode.sendSmsg(phone, code, internationalCode); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|