Commit df04d345 by lixian7

身份证查看驾驶证验证失效时间调整

parent 40e3697f
......@@ -111,7 +111,7 @@ public class DrivingLicenseServiceImpl implements DrivingLicenseService {
}
private void saveSmsValid(String userId, String idCard, String phone) {
redisTemplate.opsForValue().set(getSmsKey(userId, idCard), phone, 300, TimeUnit.SECONDS);
redisTemplate.opsForValue().set(getSmsKey(userId, idCard), phone, 24 * 3600, TimeUnit.SECONDS);
}
private boolean checkSmsValid(String userId, String idCard, String phone) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment