提交 88c13732 编写于 作者: Chongwen.jiang's avatar Chongwen.jiang

字段修改正确,否则会出问题

上级 7d6d0317
流水线 #22089 已失败 于阶段
in 0 second
...@@ -28,7 +28,7 @@ public class LoginResult { ...@@ -28,7 +28,7 @@ public class LoginResult {
@ApiModelProperty("用户id,已经加密处理") @ApiModelProperty("用户id,已经加密处理")
private String doctorId; private String doctorId;
@ApiModelProperty("是否新用户 0:不是新用户,1:新用户") @ApiModelProperty("是否新用户 0:不是新用户,1:新用户")
private int isNewUser; private int newUser;
public String getToken() { public String getToken() {
...@@ -87,11 +87,11 @@ public class LoginResult { ...@@ -87,11 +87,11 @@ public class LoginResult {
this.doctorId = doctorId; this.doctorId = doctorId;
} }
public int getIsNewUser() { public int getNewUser() {
return isNewUser; return newUser;
} }
public void setIsNewUser(int isNewUser) { public void setNewUser(int newUser) {
this.isNewUser = isNewUser; this.newUser = newUser;
} }
} }
...@@ -147,7 +147,7 @@ public class RegisterServiceImpl implements RegisterService { ...@@ -147,7 +147,7 @@ public class RegisterServiceImpl implements RegisterService {
result.setDoctorId(EncryptUtils.encryptContent(userId + "", EncryptConstants.ENCRYPT_TYPE_ID)); result.setDoctorId(EncryptUtils.encryptContent(userId + "", EncryptConstants.ENCRYPT_TYPE_ID));
result.setMobile(mobile); result.setMobile(mobile);
// 是新用户 // 是新用户
result.setIsNewUser(1); result.setNewUser(1);
/* ByteArrayOutputStream bos = new ByteArrayOutputStream(); /* ByteArrayOutputStream bos = new ByteArrayOutputStream();
DataOutputStream dos = new DataOutputStream(bos); DataOutputStream dos = new DataOutputStream(bos);
try { try {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册