|
|
|
@ -151,9 +151,6 @@ public class WechatServiceImpl implements IWechatService {
|
|
|
|
|
public String loginForApp(LoginForAppReq req) {
|
|
|
|
|
// 查询手机号是否存在医生信息
|
|
|
|
|
TDoctor tDoctor = new TDoctor();
|
|
|
|
|
if (StringUtils.isNotEmpty(req.getMedicalLicense())) {
|
|
|
|
|
req.setMedicalLicense(FileUtils.GenerateImage(req.getMedicalLicense()));
|
|
|
|
|
}
|
|
|
|
|
BeanUtils.copyProperties(req, tDoctor);
|
|
|
|
|
TDoctor currentDoctor = tDoctorMapper.selectTDoctorByPhone(req.getPhone());
|
|
|
|
|
TWechatUser wechatUser = new TWechatUser();
|
|
|
|
|