| 
					
				 | 
			
			
				@@ -1,21 +1,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.yonge.toolset.thirdparty.user.realname.provider; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.HashMap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.Optional; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.toolset.utils.idcard.IdcardInfoExtractor; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.toolset.utils.idcard.IdcardValidator; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.alibaba.fastjson.JSONObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.yonge.toolset.base.exception.ThirdpartyException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.yonge.toolset.thirdparty.user.realname.RealnameAuthenticationPlugin; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.yonge.toolset.utils.http.HttpUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.apache.commons.lang3.StringUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.slf4j.Logger; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.slf4j.LoggerFactory; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Value; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.stereotype.Service; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.alibaba.fastjson.JSONObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.toolset.base.exception.ThirdpartyException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.toolset.thirdparty.user.realname.RealnameAuthenticationPlugin; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.yonge.toolset.utils.http.HttpUtil; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.util.HashMap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @Service 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class LinkfaceRealnameAuthenticationPlugin implements RealnameAuthenticationPlugin { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -75,11 +71,11 @@ public class LinkfaceRealnameAuthenticationPlugin implements RealnameAuthenticat 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public boolean verify(String realname, String idcardNo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // TODO: 通过身份证号获取身份信息(后续需要改造) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        IdcardValidator idcardValidator = new IdcardValidator(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 通过身份证号获取身份信息(后续需要改造) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        /*IdcardValidator idcardValidator = new IdcardValidator(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (idcardValidator.isValidatedAllIdcard(idcardNo)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String respJson = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         HashMap<String, Object> params = new HashMap<String, Object>(); 
			 |