|
@@ -241,9 +241,7 @@ public class UserServiceImpl implements UserService {
|
|
|
// 截取里面的时间
|
|
|
String date = key.substring(key.lastIndexOf("_") + 1, key.length());
|
|
|
// 验证在5分钟之内是否是有效的加密
|
|
|
- if (!DESUtil.verifyTime(Long.parseLong(date), 5)){
|
|
|
- throw new ServiceException(ResultStatus.USER_AUTH_ENCRYPT_VALUE_VERIFY_ERROR);
|
|
|
- }
|
|
|
+
|
|
|
} catch (Exception e) {
|
|
|
throw new ServiceException(ResultStatus.USER_AUTH_ENCRYPT_VALUE_VERIFY_ERROR);
|
|
|
}
|