医生微信登录接口

master
heminjian502 2 years ago
parent fc21b490a7
commit d1744dc12d

@ -187,6 +187,8 @@ public class SysLoginService
tDoctor.setMedicalLicense(req.getMedicalLicense());
tDoctor.setUserId(sysUser.getUserId());
tDoctorMapper.insertTDoctor(tDoctor);
tDoctor.setIdentifier("10000000" + tDoctor.getId());
tDoctorMapper.updateTDoctor(tDoctor);
}
LoginUser loginUser = new LoginUser();
sysUser.setDoctorId(tDoctor.getId());

@ -124,6 +124,8 @@ public class WechatServiceImpl implements IWechatService {
tPatient.setCreateTime(new Date());
tPatient.setUpdateTime(new Date());
tPatientMapper.insertTPatient(tPatient);
tPatient.setIdentifier("10000000" + tPatient.getId());
tPatientMapper.updateTPatient(tPatient);
wechatUser.setUserId(tPatient.getId());
}
// 绑定openid

Loading…
Cancel
Save