|
|
@@ -106,6 +106,7 @@ public class CommonCheck {
|
|
|
taskExecutor.getThreadPoolExecutor().getQueue().clear();
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
+ log.info("验证失败-{}", e.getMessage(), e);
|
|
|
if (firstError.compareAndSet(null, createError(TradeStatusEnum.SysError))) {
|
|
|
taskExecutor.getThreadPoolExecutor().getQueue().clear();
|
|
|
}
|
|
|
@@ -413,8 +414,8 @@ public class CommonCheck {
|
|
|
private RemoteCardVo getCardFromCache(Long checkParam, Integer checkMode) {
|
|
|
String cacheKey = checkParam.toString();
|
|
|
return checkMode.equals(cardIdMode) ?
|
|
|
- JsonUtils.parseObject(String.valueOf(RedisUtils.getCacheMapValue(CacheNames.PT_USER_CARD_USER_ID, cacheKey)), RemoteCardVo.class) :
|
|
|
- JsonUtils.parseObject(String.valueOf(RedisUtils.getCacheMapValue(CacheNames.PT_USER_CARD_NO, cacheKey)), RemoteCardVo.class);
|
|
|
+ JsonUtils.parseObject(RedisUtils.getCacheMapValue(CacheNames.PT_USER_CARD_USER_ID, cacheKey).toString(), RemoteCardVo.class) :
|
|
|
+ JsonUtils.parseObject(RedisUtils.getCacheMapValue(CacheNames.PT_USER_CARD_NO, cacheKey).toString(), RemoteCardVo.class);
|
|
|
// RedisUtils.getCacheMapValue(CacheNames.PT_USER_CARD_NO, cacheKey);
|
|
|
}
|
|
|
// endregion
|