|  | @ -9,6 +9,7 @@ import java.util.UUID;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import com.yihu.wlyy.entity.login.LoginLog;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.entity.patient.SocialSecurityInfo;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.logs.BusinessLogs;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.repository.patient.PatientDao;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.repository.patient.SocialSecurityInfoDao;
 | 
	
		
			
				|  |  | import com.yihu.wlyy.service.app.family.FamilyService;
 | 
	
	
		
			
				|  | @ -309,6 +310,8 @@ public class WechatController extends WeixinBaseController {
 | 
	
		
			
				|  |  |             JSONObject json = patientService.register(idcard, ssc, name, mobile, MD5.GetMD5Code(password + salt)
 | 
	
		
			
				|  |  |                     , salt, openid, 3);
 | 
	
		
			
				|  |  |             if (json != null) {
 | 
	
		
			
				|  |  |                 Patient p = patientDao.findByIdcard(idcard);
 | 
	
		
			
				|  |  |                 BusinessLogs.info(BusinessLogs.BusinessType.appointment, p.getCode(), new JSONObject(p));
 | 
	
		
			
				|  |  |                 // 注册成功
 | 
	
		
			
				|  |  |                 return write(200, "注册成功!", "data", json);
 | 
	
		
			
				|  |  |             } else {
 |