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

Commit 7977a97f authored by zhengfuxin's avatar zhengfuxin

重复调用第三方问题。

parent c1330a00
......@@ -22,6 +22,10 @@ public class Utils {
if (null != status && "1".equals(status)) {
return false;
}
if(null != status && "2".equals(status)){
log.info("身份证和信息已经效验了。不需要调用第三方识别");
return true;
}
String respStr = IdentityUtils.aliThird(realName, cardNo), respErrorCode = null;
JsonNode respJNode = JsonUtils.fromJson(respStr, JsonNode.class);
if (null == respJNode || !"0".equals(respErrorCode = String.valueOf(respJNode.get("error_code")))) {
......
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