提交 0da6cbe3 编写于 作者: Chongwen.jiang's avatar Chongwen.jiang

解决调用风控记录数据重复问题,.

上级 1f2fdd09
流水线 #23625 已失败 于阶段
in 0 second
......@@ -207,7 +207,7 @@ public class AuthCodeServiceImpl implements AuthCodeService {
logger.info("validateJigsawCode-rcRecordedKey-ip:{}, mobile:{}, key:{}", ip, paramReq.getMobile(), rcRecordedKey);
int needCheck = 1;
Long num = cacheClient.decr(rcRecordedKey);
if (num.equals(99)) {
if (num != null && num.intValue() == 99) {
// 不需要拼图验证,直接去发短信, 不用记录风控数据(在调用获取拼图码时已经校验过,记录了数据)
return -1;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册