Ver código fonte

认证

(cherry picked from commit c12120b4b24f52a7922571aeac53f6085ea901a1)
xiongzhu 3 anos atrás
pai
commit
1bf1a53e7c

+ 0 - 2
src/main/java/com/izouma/nineth/service/IdentityAuthService.java

@@ -152,8 +152,6 @@ public class IdentityAuthService {
                     reason = "同一身份证注册超过3个";
                 } else {
                     try {
-                        User user = userRepo.findById(identityAuth.getUserId())
-                                .orElseThrow(new BusinessException("用户不存在"));
                         validate(identityAuth.getRealName(), user.getPhone(), identityAuth.getIdNo());
                         success = true;
                     } catch (Exception e) {