提交 fd361e26 编写于 作者: wenlei.liao's avatar wenlei.liao

登录返回修改

上级 d51614bd
流水线 #42881 已失败 于阶段
...@@ -30,6 +30,9 @@ public class SaasLoginResult { ...@@ -30,6 +30,9 @@ public class SaasLoginResult {
@ApiModelProperty("用户id,已经加密处理") @ApiModelProperty("用户id,已经加密处理")
private String doctorId; private String doctorId;
@ApiModelProperty("医生名称")
private String name;
public String getToken() { public String getToken() {
return token; return token;
} }
...@@ -77,4 +80,12 @@ public class SaasLoginResult { ...@@ -77,4 +80,12 @@ public class SaasLoginResult {
public void setHospitalName(String hospitalName) { public void setHospitalName(String hospitalName) {
this.hospitalName = hospitalName; this.hospitalName = hospitalName;
} }
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
} }
...@@ -1261,6 +1261,7 @@ public class LoginServiceImpl implements LoginService { ...@@ -1261,6 +1261,7 @@ public class LoginServiceImpl implements LoginService {
result.setHospitalName(doctorInfo.getHospital()); result.setHospitalName(doctorInfo.getHospital());
result.setUserId(userId.longValue()); result.setUserId(userId.longValue());
result.setMobile(mobile); result.setMobile(mobile);
result.setName(doctorInfo.getName());
result.setDoctorId(EncryptUtils.encryptContent(userId + "", EncryptConstants.ENCRYPT_TYPE_ID)); result.setDoctorId(EncryptUtils.encryptContent(userId + "", EncryptConstants.ENCRYPT_TYPE_ID));
intactUtil.sendIntact(batchNo, "pwdLoginCorrect", com.pica.cloud.foundation.completeness.contract.constants.CommonConstants.INTACT_CONTENT_LOG_STATUS_3, "request:" + JSON.toJSONString(request) + ",+mobile:" + mobile + ",encrypt:" + ",accountInfoEntity:" + JSON.toJSONString(accountInfoEntity)); intactUtil.sendIntact(batchNo, "pwdLoginCorrect", com.pica.cloud.foundation.completeness.contract.constants.CommonConstants.INTACT_CONTENT_LOG_STATUS_3, "request:" + JSON.toJSONString(request) + ",+mobile:" + mobile + ",encrypt:" + ",accountInfoEntity:" + JSON.toJSONString(accountInfoEntity));
return result; return result;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册