记得上下班打卡 | git大法好,push需谨慎

Commit 6d10178d authored by zhengfuxin's avatar zhengfuxin

验证身份

parent 662839d4
......@@ -168,10 +168,10 @@ public class SmileUserController {
return ResponseDto.failure("用户状态不对");
}
smileUserVO.setTag("2");
/* //查看这个身份证有没有被用过
//查看这个身份证有没有被用过
if(StringUtil.isNotBlank(smileRedisUtils.getValidate(smileUserVO.getName(), smileUserVO.getIdCard()))){
return ResponseDto.failure("该身份证已经有账号绑定了!");
}*/
}
smileFrontService.saveOrUpdateUser(smileUserVO,smileUserVORedis,"2");
}else {
return ResponseDto.failure("验证身份证失败!");
......
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