|  | @ -9,6 +9,7 @@ import com.yihu.jw.entity.base.login.BaseLoginLogDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.patient.BasePatientDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.base.wx.WxWechatDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.hospital.consult.WlyyHospitalSysDictDO;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.util.AesEncryptUtils;
 | 
	
		
			
				|  |  | import com.yihu.jw.restmodel.ResultStatus;
 | 
	
		
			
				|  |  | import com.yihu.jw.restmodel.web.Envelop;
 | 
	
		
			
				|  |  | import com.yihu.jw.restmodel.web.ObjEnvelop;
 | 
	
	
		
			
				|  | @ -206,7 +207,12 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
 | 
	
		
			
				|  |  |             //支付宝登录||家人登录
 | 
	
		
			
				|  |  |             parameters.put("grant_type", flag);
 | 
	
		
			
				|  |  |             String encdata = parameters.get("encdata");
 | 
	
		
			
				|  |  |             encdata = AES.decrypt(encdata);
 | 
	
		
			
				|  |  |             if("alipay".equals(flag)){
 | 
	
		
			
				|  |  |                 encdata = AES.decrypt(encdata);
 | 
	
		
			
				|  |  |             }else{
 | 
	
		
			
				|  |  |                 encdata = AesEncryptUtils.agDecrypt(encdata);
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             String data[] = encdata.split(":");
 | 
	
		
			
				|  |  |             username = data[1];
 | 
	
		
			
				|  |  |             parameters.put("username", username);
 |