提交 8fe84209 编写于 作者: xinxu.wang's avatar xinxu.wang

扫码登录 返回医生手机号

上级 79ceeec1
流水线 #44280 已失败 于阶段
...@@ -11,6 +11,7 @@ public class PICAPDoctor { ...@@ -11,6 +11,7 @@ public class PICAPDoctor {
private Integer sex; private Integer sex;
private String name; private String name;
private String mobile_phone; private String mobile_phone;
private String mobilePhone;
private Integer status; private Integer status;
private Integer type; private Integer type;
private Integer hospital_id; private Integer hospital_id;
...@@ -67,6 +68,14 @@ public class PICAPDoctor { ...@@ -67,6 +68,14 @@ public class PICAPDoctor {
private Integer create_id; private Integer create_id;
protected Date create_time; protected Date create_time;
public String getMobilePhone() {
return mobilePhone;
}
public void setMobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
}
public Date getBirthday() { public Date getBirthday() {
return this.birthday; return this.birthday;
} }
......
...@@ -669,6 +669,7 @@ public class LoginServiceImpl implements LoginService { ...@@ -669,6 +669,7 @@ public class LoginServiceImpl implements LoginService {
if (doctor == null) { if (doctor == null) {
doctor = new PICAPDoctor(); doctor = new PICAPDoctor();
} }
doctor.setMobilePhone(EncryptUtils.decryptContent(doctor.getMobile_phone(),EncryptConstants.ENCRYPT_TYPE_MOBILE,EncryptConstants.ENCRYPT_DECRYPT_KEY));
doctor.setAvatar_image_url(this.processDoctorAvatar(doctor.getAvatar_image_url())); doctor.setAvatar_image_url(this.processDoctorAvatar(doctor.getAvatar_image_url()));
return doctor; return doctor;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册