|
@@ -74,13 +74,15 @@ public class LinkfaceRealnameAuthenticationPlugin implements RealnameAuthenticat
|
|
|
|
|
|
@Override
|
|
|
public boolean verify(String realname, String idcardNo) {
|
|
|
+
|
|
|
+ return true;
|
|
|
|
|
|
// 通过身份证号获取身份信息(后续需要改造)
|
|
|
/*IdcardValidator idcardValidator = new IdcardValidator();
|
|
|
if (idcardValidator.isValidatedAllIdcard(idcardNo)) {
|
|
|
return true;
|
|
|
}*/
|
|
|
-
|
|
|
+ /**
|
|
|
String respJson = "";
|
|
|
HashMap<String, Object> params = new HashMap<String, Object>();
|
|
|
params.put("api_id", appId);
|
|
@@ -117,7 +119,7 @@ public class LinkfaceRealnameAuthenticationPlugin implements RealnameAuthenticat
|
|
|
msg = "身份证号和姓名不一致";
|
|
|
}
|
|
|
throw new ThirdpartyException("实名认证失败,原因:{}", msg);
|
|
|
- }
|
|
|
+ }**/
|
|
|
}
|
|
|
|
|
|
public void setAppId(String appId) {
|