@@ -148,7 +148,7 @@ public class SmsServiceImpl implements SmsService {
throw new StatusException("101003", "验证码错误");
} else {
sm.setLastMessage(UUID.randomUUID());
- redisClient.set(key, sm);
+ redisClient.set(key, sm,60 * 60 * 24);
}