diff --git a/blockchain-server/blockchain-server-user/src/main/java/com/blockchain/server/user/common/utils/SmsCodeUtils.java b/blockchain-server/blockchain-server-user/src/main/java/com/blockchain/server/user/common/utils/SmsCodeUtils.java index 47d2d91..4fa11d9 100644 --- a/blockchain-server/blockchain-server-user/src/main/java/com/blockchain/server/user/common/utils/SmsCodeUtils.java +++ b/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); } /**