短信验证修改

pull/1/head
liushaodong 5 years ago
parent 9f2e89b6ca
commit d43cc68b0c
  1. 2
      blockchain-server/blockchain-server-user/src/main/java/com/blockchain/server/user/common/utils/SmsCodeUtils.java

@ -35,7 +35,7 @@ public class SmsCodeUtils {
code = RandomStringUtils.random(6, false, true);
}
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);
}
/**

Loading…
Cancel
Save