去掉注释校验验证码
This commit is contained in:
parent
c184554e19
commit
87636f8f24
@ -104,11 +104,11 @@ public class LoginController {
|
|||||||
&& flag) {
|
&& flag) {
|
||||||
return ServerResponseEntity.showFailMsg("tempUid is blank");
|
return ServerResponseEntity.showFailMsg("tempUid is blank");
|
||||||
}
|
}
|
||||||
// //TODO 校验验证码
|
// 校验验证码
|
||||||
// ServerResponseEntity<Boolean> validCodeResponse = notifyFeignClient.checkValidCode(loginCode.getMobile(), loginCode.getValidCode(), SendTypeEnum.LOGIN);
|
ServerResponseEntity<Boolean> validCodeResponse = notifyFeignClient.checkValidCode(loginCode.getMobile(), loginCode.getValidCode(), SendTypeEnum.LOGIN);
|
||||||
// if (!validCodeResponse.isSuccess() || !validCodeResponse.getData()) {
|
if (!validCodeResponse.isSuccess() || !validCodeResponse.getData()) {
|
||||||
// return ServerResponseEntity.fail(ResponseEnum.VERIFICATION_CODE_ERROR);
|
return ServerResponseEntity.fail(ResponseEnum.VERIFICATION_CODE_ERROR);
|
||||||
// }
|
}
|
||||||
// 如果没有注册的话,短信登录将会进行注册
|
// 如果没有注册的话,短信登录将会进行注册
|
||||||
// 在pc/小程序/公众号的登录,都有短信登录的方法。但是公众号/小程序的短信登录,登录了之后会见这个用户和公众号/小程序绑定一起(登录并绑定)
|
// 在pc/小程序/公众号的登录,都有短信登录的方法。但是公众号/小程序的短信登录,登录了之后会见这个用户和公众号/小程序绑定一起(登录并绑定)
|
||||||
return threeInOneLogin(loginCode.getMobile(), loginCode.getTempUid(), loginCode.getSocialType());
|
return threeInOneLogin(loginCode.getMobile(), loginCode.getTempUid(), loginCode.getSocialType());
|
||||||
|
@ -29,7 +29,7 @@ public class LoginCodeDTO implements Serializable {
|
|||||||
private String mobile;
|
private String mobile;
|
||||||
|
|
||||||
@Schema(description = "验证码", requiredMode = Schema.RequiredMode.REQUIRED)
|
@Schema(description = "验证码", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||||
//TODO @NotBlank(message = "验证码不能为空")
|
@NotBlank(message = "验证码不能为空")
|
||||||
private String validCode;
|
private String validCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user