|
@ -216,8 +216,7 @@ public class WechatController extends WeixinBaseController {
|
|
|
@RequestParam(value="mobile",required = true) String mobile,
|
|
|
@RequestParam(value="captcha",required = true) String captcha,
|
|
|
@RequestParam(value="openid",required = true) String openid,
|
|
|
@RequestParam(value="password",required = true) String password,
|
|
|
@RequestParam(value="home",required = true) String home) {
|
|
|
@RequestParam(value="password",required = true) String password) {
|
|
|
try {
|
|
|
if (StringUtils.isEmpty(name)) {
|
|
|
return error(-1, "姓名不允许为空!");
|
|
@ -311,12 +310,6 @@ public class WechatController extends WeixinBaseController {
|
|
|
try {
|
|
|
Patient p = patientDao.findByIdcard(idcard);
|
|
|
BusinessLogs.info(BusinessLogs.BusinessType.register, p.getCode(), p.getCode(), new JSONObject(p));
|
|
|
if("1".equals(home)){
|
|
|
List<Patient> patients = patientService.findByMobile(mobile);
|
|
|
for(Patient patient1 :patients){
|
|
|
familyMemberService.addMember(p,patient1.getCode(),7);
|
|
|
}
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|